mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-20 08:04:07 +00:00
now works with 16bpp display
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@323 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -14,16 +14,17 @@
|
||||
#include <X11/extensions/Xrender.h>
|
||||
|
||||
struct _MwLL {
|
||||
Display* display;
|
||||
Window window;
|
||||
Pixmap pixmap;
|
||||
GC gc;
|
||||
Colormap colormap;
|
||||
void* user;
|
||||
Atom wm_delete;
|
||||
int copy_buffer;
|
||||
XIM xim;
|
||||
XIC xic;
|
||||
Display* display;
|
||||
Window window;
|
||||
Pixmap pixmap;
|
||||
GC gc;
|
||||
Colormap colormap;
|
||||
void* user;
|
||||
Atom wm_delete;
|
||||
int copy_buffer;
|
||||
XIM xim;
|
||||
XIC xic;
|
||||
XVisualInfo* visual;
|
||||
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
@@ -43,6 +44,8 @@ struct _MwLLPixmap {
|
||||
int height;
|
||||
unsigned char* data;
|
||||
|
||||
int depth;
|
||||
|
||||
int use_shm;
|
||||
int use_render;
|
||||
XShmSegmentInfo shm;
|
||||
|
||||
Reference in New Issue
Block a user