Original Post
Hi there,
thought id get my version of delphi out for a
giggle and do some opengl work in that
(seems to be more forgiving for component
development so will write controls in this
first then port them to builder)
got spinning triangle working in about 5 mins
but am unable to texture it as there is no
glBindTexture function in the opengl unit
file.
does anyone know where i can get a complete
gl unit or have the delphi declaration for this
function
I have declared it as the following
procedure glBindTexture(target : GLenum ; texturename : GLuint);stdcall;
procedure glBindTexture;external OpenGL32;
(this may not be precise but i dont have the code on
me and me memory aint what it was)
all i get when calling this function is exceptions..
Please help