fix GL_OUT_OF_MEMORY error issues on high resolutions such as 8k and above

This commit is contained in:
FunkyFr3sh 2024-07-21 04:01:00 +02:00
parent 1f532f9f6f
commit f4f5c2d71b
2 changed files with 45 additions and 29 deletions

View file

@ -16,7 +16,6 @@ typedef struct OGLRENDERER
BOOL got_error;
int surface_tex_width;
int surface_tex_height;
int* surface_tex;
GLenum surface_format;
GLenum surface_type;
GLuint surface_tex_ids[TEXTURE_COUNT];