summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java b/src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java
index 0ae597938..f813edf86 100644
--- a/src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java
+++ b/src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java
@@ -122,9 +122,9 @@ public class EGLGLCapabilities extends GLCapabilities {
return null;
}
- public static StringBuffer renderableTypeToString(StringBuffer sink, int renderableType) {
+ public static StringBuilder renderableTypeToString(StringBuilder sink, int renderableType) {
if(null == sink) {
- sink = new StringBuffer();
+ sink = new StringBuilder();
}
boolean first=true;
if(0 != (renderableType & EGL.EGL_OPENGL_BIT)) {
@@ -142,9 +142,9 @@ public class EGLGLCapabilities extends GLCapabilities {
return sink;
}
- public StringBuffer toString(StringBuffer sink) {
+ public StringBuilder toString(StringBuilder sink) {
if(null == sink) {
- sink = new StringBuffer();
+ sink = new StringBuilder();
}
sink.append("egl cfg 0x").append(Integer.toHexString(eglcfgid));
sink.append(", vid 0x").append(Integer.toHexString(nativeVisualID)).append(": ");