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

Method getGlErrorString

src/main/java/net/minecraft/src/Config.java:1952–1981  ·  view source on GitHub ↗
(int p_getGlErrorString_0_)

Source from the content-addressed store, hash-verified

1950 }
1951
1952 public static String getGlErrorString(int p_getGlErrorString_0_) {
1953 switch (p_getGlErrorString_0_) {
1954 case 0:
1955 return "No error";
1956
1957 case 1280:
1958 return "Invalid enum";
1959
1960 case 1281:
1961 return "Invalid value";
1962
1963 case 1282:
1964 return "Invalid operation";
1965
1966 case 1283:
1967 return "Stack overflow";
1968
1969 case 1284:
1970 return "Stack underflow";
1971
1972 case 1285:
1973 return "Out of memory";
1974
1975 case 1286:
1976 return "Invalid framebuffer operation";
1977
1978 default:
1979 return "Unknown";
1980 }
1981 }
1982
1983 public static boolean isTrue(Boolean p_isTrue_0_) {
1984 return p_isTrue_0_ != null && p_isTrue_0_;

Callers 3

checkGLErrorMethod · 0.95
frameFinishMethod · 0.95
checkGlErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected