mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-20 20:32:14 +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
@@ -46,7 +46,7 @@ public class ProgramSamplers {
|
||||
|
||||
// We need to keep the active texture intact, since if we mess it up
|
||||
// in the middle of RenderType setup, bad things will happen.
|
||||
int activeTexture = GLStateManager.getActiveTexture();
|
||||
int activeTexture = GLStateManager.getActiveTextureUnit();
|
||||
|
||||
for (SamplerBinding samplerBinding : samplerBindings) {
|
||||
samplerBinding.update();
|
||||
|
||||
Reference in new issue
Block a user