(String p_checkGlError_0_)
| 1199 | } |
| 1200 | |
| 1201 | public static void checkGlError(String p_checkGlError_0_) { |
| 1202 | int i = GlStateManager.glGetError(); |
| 1203 | |
| 1204 | if (i != 0 && GlErrors.isEnabled(i)) { |
| 1205 | String s = getGlErrorString(i); |
| 1206 | String s1 = String.format("OpenGL error: %s (%s), at: %s", i, s, p_checkGlError_0_); |
| 1207 | error(s1); |
| 1208 | |
| 1209 | if (isShowGlErrors() && TimedEvent.isActive("ShowGlError", 10000L)) { |
| 1210 | String s2 = I18n.format("of.message.openglError", i, s); |
| 1211 | minecraft.ingameGUI.getChatGUI().printChatMessage(new ChatComponentText(s2)); |
| 1212 | } |
| 1213 | } |
| 1214 | } |
| 1215 | |
| 1216 | public static boolean isSmoothBiomes() { |
| 1217 | return gameSettings.ofSmoothBiomes; |
no test coverage detected