Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: GL_INAVLID_OPERATION error in glMap2f method

  1. #1
    Newbie Newbie
    Join Date
    Sep 2014

    GL_INAVLID_OPERATION error in glMap2f method

    i am calling glMap2f() no of times but some times it is showing GL_INAVLID_OPERATION error in some cases..
    i am calling method as
    glMap2f(GL_MAP2_VERTEX_3, 0.0f,1.0f,3,nUOrder,0.0f,1.0f,3*nUOrder,nVOrder,fM eshCtls);
    here fMeshCtrls is changing..
    i am not calling this method between glBegin and glEnd...
    and multitexturing is not used.
    Any idea what is wrong with it?

  2. #2
    Junior Member Newbie
    Join Date
    May 2012
    According to spec it is considered an error if glMap2 is called and the value of GL_ACTIVE_TEXTURE is not GL_TEXTURE0
    But theses glMap... etc are deprecated anyways ... implement your own.


Posting Permissions

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