diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-03-16 00:12:11 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-03-16 00:12:11 +0200 |
commit | ec4c45a26a2243520cd3724b71afa8f4c6e77093 (patch) | |
tree | 3d547bc8d79ce0717ab5b3ff343eb0a14a8af2f5 | |
parent | be24280b3f8d529c7caf00013928ffcc36d48a44 (diff) | |
download | fpGUI-ec4c45a26a2243520cd3724b71afa8f4c6e77093.tar.xz |
x11: This change allows TfpgX11Image to work with TAgg2D canvas.
-rw-r--r-- | src/corelib/x11/fpg_x11.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas index a6e1c8c1..8614cd33 100644 --- a/src/corelib/x11/fpg_x11.pas +++ b/src/corelib/x11/fpg_x11.pas @@ -3192,7 +3192,7 @@ begin // only truecolor 24/32 displays supported now, otherwise color conversion required! // this must be match for the display !!! - depth := xapplication.DisplayDepth; // acolordepth; + depth := fpgApplication.DisplayDepth; bits_per_pixel := 32; // Shouldn't we rather get this from XDefaultVisualOfScreen(). PVisual? |