From: Kenneth B. R. <kbr...@al...> - 2001-10-04 06:20:22
|
> I am trying to get the GLJPanel working on Windows... Thanks for the clear bug report. This patch should fix the problem. Will be checked in to the cvs tree shortly. >cvs diff -c OpenGL_Win32_jawt.c Index: OpenGL_Win32_jawt.c =================================================================== RCS file: /cvsroot/gl4java/GL4Java/GL4Java/CNativeCode/OpenGL_Win32_jawt.c,v retrieving revision 1.5 diff -c -r1.5 OpenGL_Win32_jawt.c *** OpenGL_Win32_jawt.c 2001/07/24 12:07:18 1.5 --- OpenGL_Win32_jawt.c 2001/10/04 06:19:09 *************** *** 426,431 **** --- 426,435 ---- return JNI_FALSE; } + if (joffScreenRenderer) { + pData->dsi_win = theWindow; + } + /* fetch the states of doubleBuffer and stereo */ (void) PixelFormatDescriptorFromDc( theWindow, &pfd); |