mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 17:14:29 +02:00
fix black textures back after loading
This commit is contained in:
@@ -543,6 +543,8 @@ namespace GAPI {
|
||||
bool isShadow = fmt == FMT_SHADOW;
|
||||
|
||||
glGenTextures(1, &ID);
|
||||
|
||||
Core::active.textures[0] = NULL;
|
||||
bind(0);
|
||||
|
||||
GLenum target = cube ? GL_TEXTURE_CUBE_MAP : GL_TEXTURE_2D;
|
||||
|
Reference in New Issue
Block a user