moved texturebuffer outside of spec

This commit is contained in:
Sandro Sobczyński
2020-10-29 21:53:08 +01:00
parent ab69ba28e3
commit 8501a85f49
22 changed files with 363 additions and 180 deletions
+4 -2
View File
@@ -56,13 +56,15 @@ public:
void endFrame(float fps);
private:
void allocateTextureBuffer(u16 t_width, u16 t_height);
void deallocateTextureBuffer();
void changeTexture(Mesh *t_mesh, u8 t_textureIndex);
void flipBuffers();
void beginFrameIfNeeded();
u8 isFrameEmpty;
u8 isFrameEmpty, isTextureVRAMAllocated;
Matrix perspective;
RenderData renderData;
texbuffer_t textureBuffer;
u32 lastTextureId;
GifSender *gifSender;
VifSender *vifSender;