Menu

#9 GLUT: Warning in (unamed): GL error: inv

open
nobody
None
5
2002-05-05
2002-05-05
Anonymous
No

If I use the PngTextureLoader to lead textures I get
the following message

GLUT: Warning in (unamed): GL error: invalid operation

but only if my method loadTextures() is NOT in the init
() method of my class that extends GLAnimCanvas. If I
place the loadTextures() method in the constructor
(for instance) I get the message and nothing works.

What am I doing wrong? Or is this a bug. Ideally I'd
like to be able to load my textures whenever I like
not just in the init() method of my class.

Discussion

  • Matías Gonzalo Rodriguez

    Logged In: YES
    user_id=170964

    Hello, is this bug database alive?

    I have the same problem, Is there any workaround for this
    bug?
    Is someone trying to fix this bug?

     
  • Nobody/Anonymous

    Logged In: NO

    I have problem about this thing too.
    not only PngTextureLoader but alsoTGATextureLoader too.
    the one way that can use is write program on applet.
    but I really want to write program as an application.
    if anyone know the way to solve problem please help me.

     
  • Nobody/Anonymous

    Logged In: NO

    I have problem about this thing too.
    not only PngTextureLoader but alsoTGATextureLoader too.
    the one way that can use is write program on applet.
    but I really want to write program as an application.
    if anyone know the way to solve problem please help me.

     
  • Gary Stewart

    Gary Stewart - 2003-04-05

    Logged In: YES
    user_id=601402

    Is this still a problem for anyone? I have certainly loaded
    textures outside of init. Are people still having this problem?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.