executable info, static daylight toggle fix

This commit is contained in:
tmj-fstate
2017-03-21 17:31:50 +01:00
parent 38acc083d1
commit f4a5f60465
7 changed files with 23 additions and 7 deletions

View File

@@ -307,7 +307,7 @@ void TPythonScreenRenderer::updateTexture()
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
}
// build texture
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, textureData);
glTexImage2D( GL_TEXTURE_2D, 0, GL_RGBA8, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, textureData );
#ifdef _PY_INT_MORE_LOG
GLenum status = glGetError();