Bug 102965

Summary: glColor functions producing GL_INVALID_OPERATION
Product: Mesa Reporter: Patrick Jeeves <pdjeeves>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact: Default DRI bug account <dri-devel>
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.