Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
135 user(s) are online (97 user(s) are browsing Forums)

Members: 0
Guests: 135

more...

Headlines

 
  Register To Post  

OpenGL - glDeleteTextures(...)
Quite a regular
Quite a regular


See User information
Hi All,

I encounter problems with glDeleteTextures()
When I compile my code, I obtain several errors saying :

AmiDE_Images.c:(.text+0x???): undefined reference to `mini_CurrentContext'
AmiDE_Images.c:(.text+0x???): undefined reference to `__glut_current_context'

and some others ... It does not happen when I remove the glDeleteTextures( .... ) line.

Here is the function that uses the glDeleteTextures:
void DEDeleteImageint ImageIndex ){
  
GLuint Texture;
  if ( 
ImageDataImageIndex ].Exist == TRUE ){
    
Texture ImageDataImageIndex ].Texture;
    
glDeleteTextures1, &Texture );
    
ImageDataImageIndex ].Exist FALSE;
   }
 }


Does someone have an idea ?

Thank you.

EDIT : Forget this question .. CodeBench did overwrite my makefile and crashed the MGL referencies ... Fixed :p

Regards,
Fred

All we have to decide is what to do with the time that is given to us.
Go to top
Re: OpenGL - glDeleteTextures(...)
Home away from home
Home away from home


See User information
@freddix

No idea.

Maybe there is some thing wrong whit the prototype of glDeleteTextures(),
check the declaration of this function in the inline section in minigl header files.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OpenGL - glDeleteTextures(...)
Home away from home
Home away from home


See User information
@freddix

Quote:

EDIT : Forget this question .. CodeBench did overwrite my makefile and crashed the MGL referencies ... Fixed :p


Good to hear that it's solved.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project