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

Method getGlVersion

src/main/java/net/minecraft/src/Config.java:263–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261 }
262
263 public static GlVersion getGlVersion() {
264 if (glVersion == null) {
265 String s = GL11.glGetString(GL11.GL_VERSION);
266 glVersion = parseGlVersion(s, null);
267
268 if (glVersion == null) {
269 glVersion = getGlVersionLwjgl();
270 }
271
272 if (glVersion == null) {
273 glVersion = new GlVersion(1, 0);
274 }
275 }
276
277 return glVersion;
278 }
279
280 public static GlVersion getGlslVersion() {
281 if (glslVersion == null) {

Callers 3

getFixedMacroLinesMethod · 0.95

Calls 2

parseGlVersionMethod · 0.95
getGlVersionLwjglMethod · 0.95

Tested by

no test coverage detected