Make opengl extension loading be core compliant. Avoid issuing glGetString before context creation on Windows.

This commit is contained in:
Shyotl
2019-03-25 19:21:45 -05:00
parent f3afe45e72
commit 7b5d7376c6
2 changed files with 55 additions and 17 deletions

View File

@@ -474,7 +474,7 @@ void main()
#endif
#if (DIFFUSE_ALPHA_MODE == DIFFUSE_ALPHA_MODE_BLEND)
#if (HAS_SPECULAR_MAP == false)
#if (HAS_SPECULAR_MAP == 0)
if(diffcol.a < .01)
{
discard;