Commit 97e55cae577b93794f4a7a070ab0a707422c0d03
1 parent
42abfbcf
adding some extra proxies to GL convenience class
Showing
2 changed files
with
23 additions
and
2 deletions
java/client/com/mumfrey/liteloader/client/gui/startup/LoadingBar.java
... | ... | @@ -282,7 +282,7 @@ public class LoadingBar extends LoadingProgress |
282 | 282 | |
283 | 283 | glEnableTexture2D(); |
284 | 284 | glEnableColorLogic(); |
285 | - glColorLogicOp(GL_OR_REVERSE); | |
285 | + glLogicOp(GL_OR_REVERSE); | |
286 | 286 | this.fontRenderer.drawString(this.message, 1, scaledHeight - 19, 0xFF000000); |
287 | 287 | |
288 | 288 | if (LiteLoaderLogger.DEBUG) | ... | ... |
java/client/com/mumfrey/liteloader/gl/GL.java
... | ... | @@ -1013,7 +1013,7 @@ public class GL |
1013 | 1013 | GlStateManager.disableColorLogic(); |
1014 | 1014 | } |
1015 | 1015 | |
1016 | - public static void glColorLogicOp(int opcode) | |
1016 | + public static void glLogicOp(int opcode) | |
1017 | 1017 | { |
1018 | 1018 | GlStateManager.colorLogicOp(opcode); |
1019 | 1019 | } |
... | ... | @@ -1247,4 +1247,25 @@ public class GL |
1247 | 1247 | { |
1248 | 1248 | GlStateManager.callList(list); |
1249 | 1249 | } |
1250 | + | |
1251 | + public static void glCallLists(IntBuffer lists) | |
1252 | + { | |
1253 | + GL11.glCallLists(lists); | |
1254 | + } | |
1255 | + | |
1256 | + public static void glNewList(int list, int mode) | |
1257 | + { | |
1258 | + GL11.glNewList(list, mode); | |
1259 | + } | |
1260 | + | |
1261 | + public static void glEndList() | |
1262 | + { | |
1263 | + GL11.glEndList(); | |
1264 | + } | |
1265 | + | |
1266 | + public static void glLineWidth(float width) | |
1267 | + { | |
1268 | + GL11.glLineWidth(width); | |
1269 | + } | |
1270 | + | |
1250 | 1271 | } | ... | ... |