Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit feaaea5b authored by Joe Fernandez's avatar Joe Fernandez
Browse files

docs: code fixes for OpenGL ES training

code sample fixes reviewed separately,
see Change-Id: I1d760b75d1f2bfe1ec90c71471867577bd146241

fixing bugs:
b/10798358
b/10796990
b/10603728
b/7962328

Change-Id: I1e0f6668ec8d2b103b88c385f1f067d30ecc7178
parent c5cdd541
Loading
Loading
Loading
Loading
+9.46 KiB (36.8 KiB)

File changed.

No diff preview for this file type.

−1.11 KiB (11.4 KiB)
Loading image diff...
−1.68 KiB (12.5 KiB)
Loading image diff...
−1.09 KiB (10.9 KiB)
Loading image diff...
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ not know the content of your shaders at runtime, you should build your code such
get created once and then cached for later use.</p>

<pre>
public Triangle() {
public class Triangle() {
    ...

    int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode);
Loading