MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / isEnabled

Method isEnabled

src/main/java/net/optifine/GlErrors.java:40–65  ·  view source on GitHub ↗
(int error)

Source from the content-addressed store, hash-verified

38 }
39
40 public static boolean isEnabled(int error)
41 {
42 if (!frameStarted)
43 {
44 return true;
45 }
46 else
47 {
48 ++countErrors;
49
50 if (oneErrorEnabled)
51 {
52 oneErrorEnabled = false;
53 return true;
54 }
55 else
56 {
57 if (suppressed)
58 {
59 ++countErrorsSuppressed;
60 }
61
62 return !suppressed;
63 }
64 }
65 }
66}

Callers 3

checkGLErrorMethod · 0.95
frameFinishMethod · 0.95
checkGlErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected