- fix c++11's compile problems.

This commit is contained in:
Christoph Oelckers 2013-08-28 08:33:11 +02:00
commit 737708b635
7 changed files with 10 additions and 10 deletions

View file

@ -430,7 +430,7 @@ const FHardwareTexture *FGLTexture::Bind(int texunit, int cm, int clampmode, int
if (!hwtex->Bind(texunit, cm, translation))
{
int w, h;
int w=0, h=0;
// Create this texture
unsigned char * buffer = NULL;