--- old/modules/graphics/src/main/native-glass/mac/GlassOffscreen.h 2015-03-17 18:08:26.000000000 -0700 +++ new/modules/graphics/src/main/native-glass/mac/GlassOffscreen.h 2015-03-17 18:08:26.000000000 -0700 @@ -32,6 +32,7 @@ // as destination (to draw into) - (void)bindForWidth:(GLuint)width andHeight:(GLuint)height; +- (void)unbind; // as source (to show) - (GLuint)texture; @@ -47,9 +48,9 @@ { CGLContextObj _ctx; CGLContextObj _ctxToRestore; - + id _offscreen; - + GLboolean _dirty; GLfloat _backgroundR; @@ -60,7 +61,8 @@ CAOpenGLLayer* _layer; } -- (id)initWithContext:(CGLContextObj)ctx; +- (id)initWithContext:(CGLContextObj)ctx + andIsSwPipe:(BOOL)isSwPipe; - (CGLContextObj)getContext; - (void)setBackgroundColor:(NSColor*)color;