Quote Originally Posted by IlovePascal
Hey, Im back!

Code:
glTexImage2D( GL_TEXTURE_2D, 0, 3, TextureImage.x,
                  TextureImage.h, 0, GL_BGR,
                  GL_UNSIGNED_BYTE, TextureImage.pixels );
I get the error message
Code:
lesson7.pas(136,53) Error: Illegal qualifier
lesson7.pas(136,53) Hint: may be pointer dereference is missing
How do I 'derefrence' :evil: :cry:
How are you compiling these demos? Are you using Delphi compatability mode? Which I believe is -Sd compiler directive.

Can you post what command line parameters you are using.