Cube  Check-in [ca2bc91bc3]

Overview
Comment:Check for GL_ARB_texture_env_combine as well
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ca2bc91bc3c9539c632b293e103dc82bf42b25541ac8045f3665461d6afa1f24
User & Date: js on 2025-04-18 22:18:02.624
Other Links: manifest | tags
Context
2025-04-18
22:33
Refactor some file operations check-in: 44343f0ed9 user: js tags: trunk
22:18
Check for GL_ARB_texture_env_combine as well check-in: ca2bc91bc3 user: js tags: trunk
2025-03-29
22:29
Add variables with a getter / setter block check-in: cd2ac12a14 user: js tags: trunk
Changes
50
51
52
53
54
55
56
57


58
59
60
61
62
63
64
50
51
52
53
54
55
56

57
58
59
60
61
62
63
64
65







-
+
+







	glPolygonOffset(-3.0, -3.0);

	glCullFace(GL_FRONT);
	glEnable(GL_CULL_FACE);

	char *exts = (char *)glGetString(GL_EXTENSIONS);

	if (strstr(exts, "GL_EXT_texture_env_combine"))
	if (strstr(exts, "GL_EXT_texture_env_combine") ||
	    strstr(exts, "GL_ARB_texture_env_combine"))
		hasoverbright = true;
	else
		conoutf(@"WARNING: cannot use overbright lighting, using old "
		    @"lighting model!");

	glGetIntegerv(GL_MAX_TEXTURE_SIZE, &glmaxtexsize);