Branch: refs/heads/master
  Home:   https://github.com/Warzone2100/warzone2100
  Commit: 5a898bd8f1a0c916811b266026173455bb87e1c8
      
https://github.com/Warzone2100/warzone2100/commit/5a898bd8f1a0c916811b266026173455bb87e1c8
  Author: past-due <[email protected]>
  Date:   2018-03-09 (Fri, 09 Mar 2018)

  Changed paths:
    M lib/ivis_opengl/pieblitfunc.cpp
    M lib/ivis_opengl/piefunc.cpp
    M src/terrain.cpp

  Log Message:
  -----------
  Attempt to workaround Nvidia driver bug by ensuring glEnableVertexAttribArray 
always comes after glVertexAttribPointer

On certain Nvidia driver versions, on certain Nvidia graphics hardware, Warzone 
3.2.3 (and the master branch, to a possibly lesser extent) likes to crash 
inside the Nvidia drivers.

The recent crash logs we've obtained include a call to 
`glEnableVertexAttribArray` - and it consistently seems to be a call to 
`glEnableVertexAttribArray` that comes *before* the appropriate call to 
`glVertexAttribPointer`, and never one of the calls to 
`glEnableVertexAttribArray` that comes after the appropriate call to 
`glVertexAttribPointer`.

Let's make sure everything follows the latter pattern.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to