You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
[linux] Overdraw mode crashes with GL_INVALID_OPERATION #5435
[ERROR] {mapbox-glfw}[OpenGL]: GL_DEBUG_SOURCE_API GL_DEBUG_TYPE_ERROR 1282 GL_DEBUG_SEVERITY_HIGH - GL_INVALID_OPERATION error generated. <location> is invalid.
terminate called after throwing an instance of 'mbgl::gl::Error'
what(): glUniformMatrix4fv(location, 1, GL_FALSE, t.data()): Error GL_INVALID_OPERATION - ../../src/mbgl/shader/uniform.cpp:49
Aborted (core dumped)
Problem seems related to the location of uniforms from a shader using two quasi-identical programs. In macOS, it looks like those uniforms locations are the same, but it doesn't seem to be the case on Linux.
Activity
[-]Overdraw is crashing on Linux[/-][+][linux] Overdraw mode crashes with GL_INVALID_OPERATION[/+][build] Bump mapbox-gl-test-suite@9a7de2fb72607be6ffa0040bf3d84651719…
mikemorris commentedon Jun 22, 2016
FWIW I was only seeing this error on
BUILDTYPE=DebugLinux builds, and not on OS X at all.brunoabinader commentedon Jun 22, 2016
@mikemorris yep - macOS GL drivers appears to behave differently from others in that sense.