Skip to content

Commit d60a630

Browse files
authored
Revert "ARM: Allow Raspberry Pi's Mesa GL driver to use up to 8 lights"
1 parent c8fa07f commit d60a630

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/src/processing/opengl/PGraphicsOpenGL.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6885,7 +6885,8 @@ protected void getGLParameters() {
68856885

68866886
// overwrite the default shaders with vendor specific versions
68876887
// if needed
6888-
if (OPENGL_RENDERER.equals("VideoCore IV HW")) { // Mesa driver for same hardware
6888+
if (OPENGL_RENDERER.equals("VideoCore IV HW") || // Broadcom's binary driver for Raspberry Pi
6889+
OPENGL_RENDERER.equals("Gallium 0.4 on VC4")) { // Mesa driver for same hardware
68896890
defLightShaderVertURL =
68906891
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/LightVert-vc4.glsl");
68916892
defTexlightShaderVertURL =

0 commit comments

Comments
 (0)