Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
116 user(s) are online (71 user(s) are browsing Forums)

Members: 0
Guests: 116

more...

Support us!

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

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top

  Register To Post

 




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



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1
Pegasos2
X5000
X1000
A1222
Sam 440/460
Classic PowerPC Amiga
WinUAE emulation
Qemu emulation
Total Votes: 149
The poll will close at 2025/12/1 12:00
2 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project