summaryrefslogtreecommitdiffstats
path: root/src/newt/native
diff options
context:
space:
mode:
authorMorris Meyer <[email protected]>2009-07-28 17:34:20 -0400
committerMorris Meyer <[email protected]>2009-07-28 17:39:14 -0400
commitb6d75cac68340878b20d35b23c8449c97ad9d819 (patch)
tree2cbd05b91739249458ea5f4e18556601ac2b9c2a /src/newt/native
parentd73af059e836943fa37b9f7aab93154f530763d9 (diff)
EGL changes for device
Diffstat (limited to 'src/newt/native')
-rwxr-xr-xsrc/newt/native/BroadcomEGL.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/native/BroadcomEGL.c b/src/newt/native/BroadcomEGL.c
index 8afa71a47..55ca5f155 100755
--- a/src/newt/native/BroadcomEGL.c
+++ b/src/newt/native/BroadcomEGL.c
@@ -85,7 +85,7 @@ JNIEXPORT jlong JNICALL Java_com_sun_javafx_newt_opengl_broadcom_BCEGLDisplay_Cr
{
(void) env;
(void) obj;
- EGLDisplay dpy = EGLUtil_CreateDisplay( (GLuint) width, (GLuint) height );
+ EGLDisplay dpy = EGLUtil_CreateDisplayByNative( (GLuint) width, (GLuint) height );
if(NULL==dpy) {
fprintf(stderr, "[CreateDisplay] failed: NULL\n");
} else {
@@ -131,7 +131,7 @@ JNIEXPORT jlong JNICALL Java_com_sun_javafx_newt_opengl_broadcom_BCEGLWindow_Cre
return 0;
}
- window = EGLUtil_CreateWindow( dpy, chromaKey, &uiWidth, &uiHeight );
+ window = EGLUtil_CreateWindowByNative( dpy, chromaKey, &uiWidth, &uiHeight );
// EGLUtil_DestroyWindow( dpy, window );
if(NULL==window) {