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

Commit 5b93d259 authored by Joe Fernandez's avatar Joe Fernandez Committed by Android (Google) Code Review
Browse files

Merge "docs: code fixes for OpenGL ES training" into klp-docs

parents fb828c8c feaaea5b
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