gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/canvas-window-cpp.h
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年04月07日 15:37:39 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年04月07日 15:37:39 +0200
commit2bcbac5fe9514ec2411e617707d384c2d97e937b (patch)
tree3d5fb9ec4c9dcc658687fd34e30f34f02c3645fc /agg-plot/canvas-window-cpp.h
parent297dcf22adfd84af53d893900f2c8f14a9bb2fc5 (diff)
downloadgsl-shell-2bcbac5fe9514ec2411e617707d384c2d97e937b.tar.gz
HACK to use rgba32 for canvas to match FOX FXImage format
Diffstat (limited to 'agg-plot/canvas-window-cpp.h')
-rw-r--r--agg-plot/canvas-window-cpp.h 3
1 files changed, 2 insertions, 1 deletions
diff --git a/agg-plot/canvas-window-cpp.h b/agg-plot/canvas-window-cpp.h
index bad27eba..169e5cfd 100644
--- a/agg-plot/canvas-window-cpp.h
+++ b/agg-plot/canvas-window-cpp.h
@@ -5,6 +5,7 @@
#include <pthread.h>
#include "platform_support_ext.h"
+#include "agg-pixfmt-config.h"
#include "agg_trans_affine.h"
#include "agg_color_rgba.h"
@@ -43,7 +44,7 @@ public:
enum win_status_e status;
canvas_window(gsl_shell_state* gs, agg::rgba& bgcol) :
- platform_support_ext(agg::pix_format_bgr24, true),
+ platform_support_ext(gslshell::pixel_format, true),
m_canvas(NULL), m_bgcolor(bgcol), m_matrix(), m_gsl_shell(gs),
status(not_ready)
{ };
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月14日 12:37:28 +0000

AltStyle によって変換されたページ (->オリジナル) /