Re: glMapBufferRange
Ian Mallett <[email protected]> Wed, 14 Jul 2021 12:02:30 -0700
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CAG4NV=sjDeZ338eshaEeTKcBrF5xqCK1hGBXAfjQBqeHHvB0jw@mail.gmail.com> |
--===============7475228087378972286== Content-Type: multipart/alternative; boundary="0000000000009d523705c719ff13" --0000000000009d523705c719ff13 Content-Type: text/plain; charset="UTF-8" On Tue, Jul 13, 2021 at 6:42 AM Jeff Fayman <[email protected]> wrote: > Trying to use glMapBufferRange and getting the following error: > > > > OpenGL.error.NullFunctionError: Attempt to call an undefined function > glMapBufferRange, check for bool(glMapBufferRange) before calling > > > > What am I missing here. All other OpenGL functions that I have used are > available and functioning properly. > This is an OpenGL 3.0 function. Does your hardware support OpenGL 3.0 (likely), have you created an OpenGL 3.0+ context, and have you bound it? --0000000000009d523705c719ff13 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Tue, Jul 13, 2021 at 6:42 AM Jeff Faym= an <<a href=3D"mailto:[email protected]">[email protected]</= a>> wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex"> <div style=3D"overflow-wrap: break-word;" lang=3D"EN-US"> <div class=3D"gmail-m_-6254504463117764453WordSection1"> <p class=3D"MsoNormal">Trying to use glMapBufferRange and getting the follo= wing error:<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">OpenGL.error.NullFunctionError: Attempt to call an u= ndefined function glMapBufferRange, check for bool(glMapBufferRange) before= calling<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">What am I missing here.=C2=A0 All other OpenGL funct= ions that I have used are available and functioning properly.<br></p></div>= </div></blockquote><div><br></div><div>This is an OpenGL 3.0 function. Does= your hardware support OpenGL 3.0 (likely), have you created an OpenGL 3.0+= context, and have you bound it?<br></div></div></div> --0000000000009d523705c719ff13-- --===============7475228087378972286== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7475228087378972286== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-users --===============7475228087378972286==--