summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-16 00:12:11 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-16 00:12:11 +0200
commitec4c45a26a2243520cd3724b71afa8f4c6e77093 (patch)
tree3d547bc8d79ce0717ab5b3ff343eb0a14a8af2f5
parentbe24280b3f8d529c7caf00013928ffcc36d48a44 (diff)
downloadfpGUI-ec4c45a26a2243520cd3724b71afa8f4c6e77093.tar.xz
x11: This change allows TfpgX11Image to work with TAgg2D canvas.
-rw-r--r--src/corelib/x11/fpg_x11.pas2
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?