summaryrefslogtreecommitdiffstats
path: root/src/newt/native/BroadcomEGL.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt/native/BroadcomEGL.c')
-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) {