From 11cda679c74cf5c0db0cdc8eb1f3ff7d1d667f9b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Apr 2011 04:37:16 +0300 Subject: Commented some sdl and opengl tests. --- src/resources/image.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/resources/image.cpp b/src/resources/image.cpp index 0cb8779ff..ea32e6601 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -588,6 +588,7 @@ Image *Image::_SDLload(SDL_Surface *tmpImage) if (converted) SDL_FreeSurface(tmpImage); +// SDL_SetColorKey(image, SDL_SRCCOLORKEY | SDL_RLEACCEL, 0); return new Image(image, hasAlpha, alphaChannel); } @@ -651,6 +652,7 @@ Image *Image::_GLload(SDL_Surface *tmpImage) if (SDL_MUSTLOCK(tmpImage)) SDL_LockSurface(tmpImage); +// glTexImage2D(mTextureType, 0, GL_COMPRESSED_RGBA_ARB, tmpImage->w, tmpImage->h, glTexImage2D(mTextureType, 0, 4, tmpImage->w, tmpImage->h, 0, GL_RGBA, GL_UNSIGNED_BYTE, tmpImage->pixels); -- cgit v1.2.3-60-g2f50