diff options
author | Morris Meyer <[email protected]> | 2009-07-28 17:34:20 -0400 |
---|---|---|
committer | Morris Meyer <[email protected]> | 2009-07-28 17:39:14 -0400 |
commit | b6d75cac68340878b20d35b23c8449c97ad9d819 (patch) | |
tree | 2cbd05b91739249458ea5f4e18556601ac2b9c2a /src/newt/native | |
parent | d73af059e836943fa37b9f7aab93154f530763d9 (diff) |
EGL changes for device
Diffstat (limited to 'src/newt/native')
-rwxr-xr-x | src/newt/native/BroadcomEGL.c | 4 |
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) { |