Merge remote-tracking branch 'font-freetype-3' into fox-gui - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/window_registry.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年07月21日 16:15:04 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年07月21日 16:15:04 +0200
commit109cec3a3eec162659dbe4b6bbc724bfc4d71c31 (patch)
tree792fc6531eed8461ddaca467cde0af197995444b /agg-plot/window_registry.cpp
parent269afefd4af2969413e905514285b07729464b84 (diff)
parent60f4afc1da907037867b9501fd9f781948efe649 (diff)
downloadgsl-shell-109cec3a3eec162659dbe4b6bbc724bfc4d71c31.tar.gz
Merge remote-tracking branch 'font-freetype-3' into fox-gui
Most important change to make it works was to perform a pixel conversion to convert the rendering buffer image in rgba32 format as required by FXImage. Internally the rgb24 format was used like in the font-freetype branch.
Diffstat (limited to 'agg-plot/window_registry.cpp')
-rw-r--r--agg-plot/window_registry.cpp 20
1 files changed, 10 insertions, 10 deletions
diff --git a/agg-plot/window_registry.cpp b/agg-plot/window_registry.cpp
index c09539bc..c2e6f1f1 100644
--- a/agg-plot/window_registry.cpp
+++ b/agg-plot/window_registry.cpp
@@ -151,16 +151,16 @@ window_refs_lookup_apply (lua_State *L, int value_index, lua_CFunction func)
lua_pushnil (L);
while (lua_next (L, -2) != 0)
- {
- if (lua_rawequal (L, -1, value_index))
- {
- lua_pushcfunction (L, func);
- lua_pushvalue (L, -5);
- lua_pushvalue (L, -4);
- lua_call (L, 2, 0);
- }
- lua_pop (L, 1);
- }
+ {
+ if (lua_rawequal (L, -1, value_index))
+ {
+ lua_pushcfunction (L, func);
+ lua_pushvalue (L, -5);
+ lua_pushvalue (L, -4);
+ lua_call (L, 2, 0);
+ }
+ lua_pop (L, 1);
+ }
lua_pop (L, 1);
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 19:20:29 +0000

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