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

Method getGlslVersion

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

Source from the content-addressed store, hash-verified

278 }
279
280 public static GlVersion getGlslVersion() {
281 if (glslVersion == null) {
282 String s = GL11.glGetString(GL20.GL_SHADING_LANGUAGE_VERSION);
283 glslVersion = parseGlVersion(s, null);
284
285 if (glslVersion == null) {
286 glslVersion = new GlVersion(1, 10);
287 }
288 }
289
290 return glslVersion;
291 }
292
293 public static GlVersion parseGlVersion(String p_parseGlVersion_0_, GlVersion p_parseGlVersion_1_) {
294 try {

Callers 1

getFixedMacroLinesMethod · 0.95

Calls 1

parseGlVersionMethod · 0.95

Tested by

no test coverage detected