added bunch of todos, modified readme
This commit is contained in:
1 parent
0e13ac4955
commit
36166bfdae
4 files changed
+7
-23
No files matched your search
@@ -838,9 +838,8 @@ void GameRenderer::turnOnLightLayer(double alpha)
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
}
|
||||
#endif
|
||||
// Linux/PC: TextureBindVertex is a no-op (no vertex texture unit on desktop GL2.1).
|
||||
// The glTexParameteri calls below MUST NOT execute — they would corrupt the currently
|
||||
// bound terrain atlas on GL_TEXTURE0, replacing GL_NEAREST with GL_LINEAR every frame.
|
||||
// update light texture
|
||||
// todo: check implementation of getLightTexture.
|
||||
RenderManager.TextureBindVertex(getLightTexture(mc->player->GetXboxPad(), mc->level));
|
||||
#if 0
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
||||
|
||||
Reference in new issue
Block a user