mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
fix to deal with the presence/absence of Xrender
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25445 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
017cb1d365
commit
f9a1879e18
1 changed files with 4 additions and 0 deletions
|
@ -35,7 +35,11 @@
|
|||
|
||||
gsDevice = device;
|
||||
|
||||
#ifdef XRENDER
|
||||
di.drawing_depth = 32;
|
||||
#else
|
||||
di.drawing_depth = 24;
|
||||
#endif
|
||||
di.bytes_per_pixel = 4;
|
||||
di.inline_alpha = YES;
|
||||
di.inline_alpha_ofs = 0;
|
||||
|
|
Loading…
Reference in a new issue