X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2FABM2.git;a=blobdiff_plain;f=ABM2%2FAmaltheia%2FSprite.cpp;h=2eef2408b162f98ee93a90a1658c2f92e4158abb;hp=0f9309fec69d452a6a02bca91e0684a4aaa1004c;hb=e8052fbdfce6586a04ac299b3970c89a5f63db7b;hpb=b17f47041c9259eb6b7487df06da0be5fc5d1609 diff --git a/ABM2/Amaltheia/Sprite.cpp b/ABM2/Amaltheia/Sprite.cpp index 0f9309f..2eef240 100644 --- a/ABM2/Amaltheia/Sprite.cpp +++ b/ABM2/Amaltheia/Sprite.cpp @@ -77,8 +77,8 @@ Sprite::Sprite( char * filename, colour key, int tw, int th, Graphics *g) tileHeight=th; glAlphaFunc(GL_NOTEQUAL, 0); - glEnable(GL_ALPHA_TEST); - tex = new Texture(filename, key, g); + glEnable(GL_ALPHA_TEST); + tex = new Texture(filename, key, g); texW = tex->getWidth(); texH = tex->getHeight();