don't use JOGL's FBO backing, use manual backing only when requested

This commit is contained in:
codeanticode
2014-11-16 08:05:39 -07:00
parent 35074e41a8
commit 5ae7a470e7
+1 -3
View File
@@ -1397,9 +1397,7 @@ public class PJOGL extends PGL {
public FontOutline(char ch, Object font) {
char textArray[] = new char[] { ch };
// ???????????????
// Graphics2D graphics = (Graphics2D) pg.parent.getGraphics();
Graphics2D graphics = null;
Graphics2D graphics = (Graphics2D) pg.parent.frame.getGraphics();
FontRenderContext frc = graphics.getFontRenderContext();
GlyphVector gv = ((Font)font).createGlyphVector(frc, textArray);
Shape shp = gv.getOutline();