This commit is contained in:
Robert Vokac 2025-02-22 22:31:22 +01:00
parent 69bdcd3fd0
commit c37ae4b291
Signed by: robertvokac
GPG Key ID: FB9CE8E20AADA55F
2 changed files with 18 additions and 12 deletions

View File

@ -2,24 +2,29 @@
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="Debug" />
<File name="src/SpriteBatch.cpp" open="1" top="1" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="679" topLine="0" />
</Cursor>
</File>
<File name="src/GraphicsDevice.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="87" topLine="0" />
<Cursor1 position="1169" topLine="4" />
</Cursor>
</File>
<File name="include/Game.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="include/GraphicsDevice.h" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="include/GraphicsDevice.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="399" topLine="0" />
</Cursor>
</File>
<File name="src/SpriteBatch.cpp" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="439" topLine="0" />
</Cursor>
</File>
<File name="include/Game.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="src/Game.cpp" open="1" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="560" topLine="0" />
</Cursor>
</File>
</CodeBlocks_layout_file>

View File

@ -15,6 +15,7 @@ namespace CNA {
void SpriteBatch::End() {
// Clean up after renderring
SDL_RenderPresent(renderer);
}
void SpriteBatch::Draw(SDL_Texture* texture, float x, float y) {