Skip to main content
GameDev.net gamedev.net
🔒 Locked

glBindTexture in delphi (v4)

Started by MButchers Jan 18, 2001 at 7:35 AM 1 replies 500+ views
Original Post
MButchers
MButchers
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
Gunner
Gunner
Hi MButchers,

you can get the latest OpenGL v1.2 headers for Delphi at:

http://www.lischke-online.de/Graphics.html
or the v1.1 at:
http://www.gamedeveloper.org/delphi3d/tools.shtml

Not having access to GLBindtexture would suck indeed

Let me know how it turns out.

Gunner.

MButchers
MButchers
Cheers Gunner

Now have Textures

Thanks again

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.