Bug 102965 - glColor functions producing GL_INVALID_OPERATION
Summary: glColor functions producing GL_INVALID_OPERATION
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-24 20:08 UTC by Patrick Jeeves
Modified: 2019-06-25 01:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Patrick Jeeves 2017-09-24 20:08:17 UTC
I'm getting the aforementioned error from all of the glColor functions I try, example code:

m_context = SDL_GL_CreateContext( window );
if(!m_context) exit(3);
SDL_GL_MakeCurrent(window, m_context);

initializeGlew();
glClearColor(.5, .75, .93, 1);  checkGLerrors("glClearColor");
glColor4f(1, 1, 1, 1);          checkGLerrors("glColor4f");

This is similar to bug #48535, except that it is happening in amdgpu instead of mesa.
Comment 1 Ilia Mirkin 2017-09-24 20:22:03 UTC
Is SDL defaulting to creating a core context now? If so, no glColor* there.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.