- removed the code for hardware alpha testing again because it didn't work anymore with how things are set up now.

- we need to check all GL versions when trying to get a context because some drivers only give us the version we request, leaving out newer features that are not exposed via extension.
- added some status info about uniform blocks.
This commit is contained in:
Christoph Oelckers 2014-07-30 23:13:16 +02:00
commit ef8f66c9a1
7 changed files with 17 additions and 51 deletions

View file

@ -192,6 +192,8 @@ void FHardwareTexture::LoadImage(unsigned char * buffer,int w, int h, unsigned i
if (alphatexture)
{
// thanks to deprecation and delayed introduction of a suitable replacement feature this has become a bit messy...
// Of all the targeted hardware, the Intel GMA 2000 and 3000 are the only ones not supporting texture swizzle, and they
// are also the only ones not supoorting GL 3.3. On those we are forced to use a full RGBA texture here.
if (gl.version >= 3.3f)
{
texformat = GL_R8;