summaryrefslogtreecommitdiffstats
path: root/src/demos/es2
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2')
-rwxr-xr-xsrc/demos/es2/RedSquare.java2
-rwxr-xr-xsrc/demos/es2/openmax/MovieCube.java2
-rwxr-xr-xsrc/demos/es2/openmax/MovieSimple.java2
-rwxr-xr-xsrc/demos/es2/perftst/Perftst.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java
index 5f120a5..d2149bc 100755
--- a/src/demos/es2/RedSquare.java
+++ b/src/demos/es2/RedSquare.java
@@ -71,7 +71,7 @@ public class RedSquare extends Thread implements WindowListener, MouseListener,
System.err.println(glp+" RedSquare.run()");
int width = 800;
int height = 480;
- glp = GLProfile.GetProfile(glprofile);
+ glp = GLProfile.get(glprofile);
try {
GLCapabilities caps = new GLCapabilities(glp);
diff --git a/src/demos/es2/openmax/MovieCube.java b/src/demos/es2/openmax/MovieCube.java
index 1a0fb93..40ba583 100755
--- a/src/demos/es2/openmax/MovieCube.java
+++ b/src/demos/es2/openmax/MovieCube.java
@@ -87,7 +87,7 @@ public class MovieCube implements MouseListener, GLEventListener, OMXEventListen
private void run() {
System.err.println("MovieCube.run()");
try {
- GLCapabilities caps = new GLCapabilities(GLProfile.GetProfileGL2ES2());
+ GLCapabilities caps = new GLCapabilities(GLProfile.getGL2ES2());
// For emulation library, use 16 bpp
caps.setRedBits(5);
caps.setGreenBits(6);
diff --git a/src/demos/es2/openmax/MovieSimple.java b/src/demos/es2/openmax/MovieSimple.java
index cba3c2c..9088977 100755
--- a/src/demos/es2/openmax/MovieSimple.java
+++ b/src/demos/es2/openmax/MovieSimple.java
@@ -94,7 +94,7 @@ public class MovieSimple implements MouseListener, GLEventListener, OMXEventList
private void run() {
System.err.println("MovieSimple.run()");
try {
- GLCapabilities caps = new GLCapabilities(GLProfile.GetProfileGL2ES2());
+ GLCapabilities caps = new GLCapabilities(GLProfile.getGL2ES2());
// For emulation library, use 16 bpp
caps.setRedBits(5);
caps.setGreenBits(6);
diff --git a/src/demos/es2/perftst/Perftst.java b/src/demos/es2/perftst/Perftst.java
index 91c6711..f023e4d 100755
--- a/src/demos/es2/perftst/Perftst.java
+++ b/src/demos/es2/perftst/Perftst.java
@@ -44,7 +44,7 @@ public class Perftst implements MouseListener, GLEventListener {
pmod = pm;
System.err.println("Perftst.run()");
try {
- GLCapabilities caps = new GLCapabilities(GLProfile.GetProfileGL2ES2());
+ GLCapabilities caps = new GLCapabilities(GLProfile.getGL2ES2());
// For emulation library, use 16 bpp
caps.setRedBits(5);
caps.setGreenBits(6);