Results 1 to 3 of 3

Thread: Problem with glGetTexImage

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    3

    Problem with glGetTexImage

    Hi,
    I am calling glGetTexImage to get texture data of texture, and trying to draw it.
    it shows following output, show the corrupted image 16 times,
    So What could be the problem ?


  2. #2
    Senior Member
    Join Date
    May 2006
    Posts
    353

    Re: Problem with glGetTexImage

    glGetTexImage is not part of either OpenGL ES 1.x or 2.0 core specifications. Are you using an extension?
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum
    DevTech@imgtec.com | http://www.powervrinsider.com

  3. #3
    Junior Member
    Join Date
    Apr 2011
    Posts
    1

    Re: Problem with glGetTexImage

    As already stated there is no glGetTexImage in OpenGL, but if the texture is in a renderable format (RGB or RGBA, not L, A, or LA) then you can bind it to an FBO and use glReadPixels.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •