summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-11 01:03:01 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-11 01:04:52 -0300
commit835790809954bb5962f8893320b8f5c3ad82d6a0 (patch)
tree30e258936c1282f31143f465f1c310563dd9acfa /src/input_common/sdl/sdl_impl.h
parent22e825a3bc0d9bfb5f8c29a50724c2887014dc02 (diff)
gl_shader_manager: Fix interaction between graphics and compute
After a compute shader was set to the pipeline, no graphics shader was invoked again. To address this use glUseProgram to bind compute shaders (without state tracking) and call glUseProgram(0) when transitioning out of it back to the graphics pipeline.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.h')
0 files changed, 0 insertions, 0 deletions