Skip to content

Commit

Permalink
7154505: [macosx] NetBeans sometimes starts with no text rendered
Browse files Browse the repository at this point in the history
Reviewed-by: prr, kizune
  • Loading branch information
bae committed Apr 7, 2012
1 parent 2b76926 commit a6578f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/macosx/native/sun/java2d/opengl/CGLGraphicsConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,10 @@ + (void) _getCGLConfigInfo: (NSMutableArray *)argValue {

GLint contextVirtualScreen = [context currentVirtualScreen];
#if USE_NSVIEW_FOR_SCRATCH
[context setView: scratchSurface];
/* the scratch surface will be set to the view
* later on the flusher thread by OGLSD_SetScratchSurface.
*/
//[context setView: scratchSurface];
#else
[context
setPixelBuffer: scratchSurface
Expand Down

0 comments on commit a6578f7

Please sign in to comment.