mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Change comment
This commit is contained in:
@@ -5637,9 +5637,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
@Override
|
||||
public boolean save(String filename) {
|
||||
|
||||
// Act as opaque surface for the purposes of saving.
|
||||
// This is a hack, primary surface is supposed to be
|
||||
// opaque by default.
|
||||
// Act as an opaque surface for the purposes of saving.
|
||||
if (primarySurface) {
|
||||
int prevFormat = format;
|
||||
format = RGB;
|
||||
|
||||
Reference in New Issue
Block a user