# OpenGL errors with PVRVFrame and Mesa

**URL:** <https://forums.imgtec.com/t/opengl-errors-with-pvrvframe-and-mesa/2652>\
**Category:** PowerVR Insider\
**Created:** [April 26, 2018, 12:05pm UTC](https://forums.imgtec.com/t/opengl-errors-with-pvrvframe-and-mesa/2652 "2018-04-26T12:05:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![desperado](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@desperado](https://forums.imgtec.com/u/desperado)\
**Post date:** [April 26, 2018, 12:05pm UTC](https://forums.imgtec.com/t/opengl-errors-with-pvrvframe-and-mesa/2652/1 "2018-04-26T12:05:20Z")

</div>

Greetings,

I’m running an EGL app with PVRVFrame libraries from the 2017 SDK. When I enable mesa gl debug mode with export MESA\_DEBUG=1 I get lots of errors as follows:

Mesa: User error: GL\_INVALID\_OPERATION in unsupported function called (unsupported extension or deprecated function?)  
Mesa: User error: GL\_INVALID\_ENUM in glEnable(GL\_POINT\_SPRITE)

The glEnable call seems to be part of glDrawArrays calls which don’t render point based geometry.

Do you know this phenomenon? Regards

---

<div class="post-metadata">

**Author:** ![MartonTamas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/martontamas/32/297_2.png) [@MartonTamas](https://forums.imgtec.com/u/MartonTamas)\
**Post date:** [April 30, 2018, 8:45am UTC](https://forums.imgtec.com/t/opengl-errors-with-pvrvframe-and-mesa/2652/2 "2018-04-30T08:45:39Z")

</div>

Hi,

possibly PVRVFrame doesn’t support these old OpenGL functions. I’d say ignore the errors or don’t use such functionality.

bests,  
Marton

---

<div class="post-metadata">

**Author:** ![desperado](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@desperado](https://forums.imgtec.com/u/desperado)\
**Post date:** [May 1, 2018, 8:48pm UTC](https://forums.imgtec.com/t/opengl-errors-with-pvrvframe-and-mesa/2652/3 "2018-05-01T20:48:21Z")

</div>

I don’t use GL\_POINT\_SPRITE directly. I wonder if PVRVFrame does.
