mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-18 19:39:09 +00:00
Fully track GL State changes (#83)
* Fully track GL State changes * Now compatible with glPushAttrib, and glPopAttrib * Cache mask -> features using an Int2ObjectMap
This commit is contained in:
1 parent
c3216007c1
commit
6624a9adb3
41 files changed
+1088
-256
No files matched your search
@@ -39,7 +39,7 @@ public class TextureTracker {
|
||||
if (lockBindCallback) {
|
||||
return;
|
||||
}
|
||||
if (GLStateManager.getActiveTexture() == 0) {
|
||||
if (GLStateManager.getActiveTextureUnit() == 0) {
|
||||
lockBindCallback = true;
|
||||
if (bindTextureListener != null) {
|
||||
bindTextureListener.run();
|
||||
|
||||
Reference in new issue
Block a user