forgot to push webgl error logging fix
This commit is contained in:
parent
098a8ee9e9
commit
6d1bfd9e3e
|
@ -526,14 +526,15 @@ public class Minecraft implements Runnable {
|
||||||
* string.
|
* string.
|
||||||
*/
|
*/
|
||||||
public void checkGLError(String par1Str) {
|
public void checkGLError(String par1Str) {
|
||||||
//int var2 = EaglerAdapter.glGetError();
|
int var2;
|
||||||
|
|
||||||
|
|
||||||
//if (var2 != 0) {
|
while ((var2 = EaglerAdapter.glGetError()) != 0) {
|
||||||
// String var3 = EaglerAdapter.gluErrorString(var2);
|
String var3 = EaglerAdapter.gluErrorString(var2);
|
||||||
// System.err.println("########## GL ERROR ##########");
|
System.err.println("########## GL ERROR ##########");
|
||||||
// System.err.println("@ " + par1Str);
|
System.err.println("@ " + par1Str);
|
||||||
// System.err.println(var2 + ": " + var3);
|
System.err.println(var2 + ": " + var3);
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user