diff --git a/src/render.c b/src/render.c index d4fc722..b188f73 100644 --- a/src/render.c +++ b/src/render.c @@ -125,6 +125,9 @@ DWORD WINAPI render_main(void) if (glGetError() != GL_NO_ERROR) glTexImage2D(GL_TEXTURE_2D, 0, GL_RED, tex_width, tex_height, 0, surfaceFormat = GL_RED, GL_UNSIGNED_BYTE, 0); + + if (!ddraw->autorenderer && glGetError() != GL_NO_ERROR) // very slow... + glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, tex_width, tex_height, 0, surfaceFormat = GL_RED, GL_UNSIGNED_BYTE, 0); } else {