aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 10:06:58 +0200
committerSven Gothel <[email protected]>2014-07-08 10:06:58 +0200
commit326cd5074f14d89a2cd8a6658472784aeda11a87 (patch)
tree3e5dc0a087377457a89f9ec4ad70d75a3e8edc98 /src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java
parent38e51e4a5f6f35c658df10f6d48a33e3ffaea2f3 (diff)
Findbugs.minor: Fix 'array -> string', missing argument
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java
index 71e5afe33..c4ee4bf73 100644
--- a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java
+++ b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java
@@ -381,7 +381,7 @@ public class EGLDrawableFactory extends GLDrawableFactoryImpl {
case 1:
profileString = GLProfile.GLES1; break;
default:
- throw new GLException("Invalid ES profile number "+esProfile);
+ throw new GLException("Invalid ES profile number "+esProfile[0]);
}
if ( !GLProfile.isAvailable(adevice, profileString) ) {
if( DEBUG ) {
@@ -395,7 +395,7 @@ public class EGLDrawableFactory extends GLDrawableFactoryImpl {
final boolean mapsADeviceToDefaultDevice = !QUERY_EGL_ES_NATIVE_TK || initDefaultDevice ||
null == desktopFactory || adevice instanceof EGLGraphicsDevice ;
if( DEBUG ) {
- System.err.println("EGLDrawableFactory.mapAvailableEGLESConfig: "+profileString+" ( "+esProfile+" ), "+
+ System.err.println("EGLDrawableFactory.mapAvailableEGLESConfig: "+profileString+" ( "+esProfile[0]+" ), "+
"defaultSharedResourceSet "+(null!=defaultSharedResource)+", mapsADeviceToDefaultDevice "+mapsADeviceToDefaultDevice+
" (QUERY_EGL_ES_NATIVE_TK "+QUERY_EGL_ES_NATIVE_TK+", hasDesktopFactory "+(null != desktopFactory)+
", isEGLGraphicsDevice "+(adevice instanceof EGLGraphicsDevice)+")");