| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 27ae022 commit 1ac5068
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1174,7 +1174,6 @@ public void keyTyped(com.jogamp.newt.event.KeyEvent e) { | |||
| 1174 | 1174 | ||
| 1175 | 1175 | @Override | |
| 1176 | 1176 | protected void enableTexturing(int target) { | |
| 1177 | - if (profile == 2) enable(target); | ||
| 1178 | 1177 | if (target == TEXTURE_2D) { | |
| 1179 | 1178 | texturingTargets[0] = true; | |
| 1180 | 1179 | } else if (target == TEXTURE_RECTANGLE) { | |
@@ -1185,7 +1184,6 @@ protected void enableTexturing(int target) { | |||
| 1185 | 1184 | ||
| 1186 | 1185 | @Override | |
| 1187 | 1186 | protected void disableTexturing(int target) { | |
| 1188 | - if (profile == 2) disable(target); | ||
| 1189 | 1187 | if (target == TEXTURE_2D) { | |
| 1190 | 1188 | texturingTargets[0] = false; | |
| 1191 | 1189 | } else if (target == TEXTURE_RECTANGLE) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments