open_toontown_panda3d/panda
rdb c36fa1ef17 glgsg: Workaround driver bug causing flickering in AMD RDNA cards
Apparently, the use of glColorPointer with GL_BGRA causes these cards to display garbled vertex colors (tested with RX 5700 XT).  This bug doesn't seem to affect glVertexAttribPointer.

The "fix" is to just disable packed-dabc colors if these cards are detected.  This may cause a minor performance regression since the vertex data now needs to be munged--possibly even unnecessarily, if shaders are used, but this effect is likely very minor (and can be addressed in other ways).

Fixes #981
2021-03-25 23:12:35 +01:00
..
metalibs Add p3headlessgl render plug-in on Linux using EGL as fallback for GLX 2021-03-23 15:04:20 +01:00
src glgsg: Workaround driver bug causing flickering in AMD RDNA cards 2021-03-25 23:12:35 +01:00