--- a/jdk/src/solaris/native/sun/java2d/opengl/GLXSurfaceData.c Tue Jul 15 16:04:08 2008 +0400
+++ b/jdk/src/solaris/native/sun/java2d/opengl/GLXSurfaceData.c Fri Jul 18 10:48:44 2008 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,9 @@
extern struct MComponentPeerIDs mComponentPeerIDs;
+extern void
+ OGLSD_SetNativeDimensions(JNIEnv *env, OGLSDOps *oglsdo, jint w, jint h);
+
jboolean surfaceCreationFailed = JNI_FALSE;
#endif /* !HEADLESS */
@@ -460,6 +463,8 @@
glxsdo->drawable = pbuffer;
glxsdo->xdrawable = 0;
+ OGLSD_SetNativeDimensions(env, oglsdo, width, height);
+
return JNI_TRUE;
}