We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fbee72 commit e4febaaCopy full SHA for e4febaa
1 file changed
src/platform/platform.cpp
@@ -64,12 +64,6 @@ bool GLRenderCtx::begin() {
64
glGenTextures(1, &m_texture);
65
glBindTexture(GL_TEXTURE_2D, m_texture);
66
67
- static int texture_count = 0;
68
- texture_count++;
69
- if (texture_count > 100) {
70
- exit(1);
71
- }
72
-
73
glTexImage2D(
74
GL_TEXTURE_2D, 0, GL_RGB,
75
static_cast<GLsizei>(m_size.x),
@@ -116,3 +110,4 @@ void GLRenderCtx::end() {
116
110
//glFlush();
117
111
}
118
112
113
+
0 commit comments