]> git.tdb.fi Git - libs/gl.git/blobdiff - demos/texturing.cpp
More compilation fixes
[libs/gl.git] / demos / texturing.cpp
index e618a43c15ed09badce74022cef4159aed74967b..6a387dec75bda970dbe0cac73f1ac3e635729760 100644 (file)
@@ -21,7 +21,7 @@ int main()
        GL::Texture2D tex1;
        GL::Texture2D tex2;
 
-       char *data = new char[256*256*4];
+       unsigned char *data = new unsigned char[256*256*4];
        for(unsigned y=0; y<256; ++y)
                for(unsigned x=0; x<256; ++x)
                {