summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/util/render/x11
diff options
context:
space:
mode:
Diffstat (limited to 'mpeglib/lib/util/render/x11')
-rw-r--r--mpeglib/lib/util/render/x11/initDisplay.cpp6
-rw-r--r--mpeglib/lib/util/render/x11/x11Surface.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/mpeglib/lib/util/render/x11/initDisplay.cpp b/mpeglib/lib/util/render/x11/initDisplay.cpp
index d0029eb6..2a62e721 100644
--- a/mpeglib/lib/util/render/x11/initDisplay.cpp
+++ b/mpeglib/lib/util/render/x11/initDisplay.cpp
@@ -128,7 +128,7 @@ void CreateFullColorWindow (XWindow* xwindow) {
int depth;
Visual *visual;
XSetWindowAttributes xswa;
- unsigned long mask;
+ unsigned long tqmask;
unsigned int c_class;
int screen;
Display *dpy=xwindow->display;
@@ -152,7 +152,7 @@ void CreateFullColorWindow (XWindow* xwindow) {
cout << "visual is null"<<endl;
return;
}
- mask = CWBackPixel | CWColormap | CWBorderPixel;
+ tqmask = CWBackPixel | CWColormap | CWBorderPixel;
if (xwindow->colormap==0) {
xswa.colormap = XCreateColormap(dpy,
XRootWindow(dpy, screen),
@@ -166,7 +166,7 @@ void CreateFullColorWindow (XWindow* xwindow) {
/*
xwindow->window = XCreateWindow(dpy, RootWindow(dpy, screen), x, y, w, h,
(unsigned int) 1, depth, c_class,
- visual, mask, &xswa);
+ visual, tqmask, &xswa);
*/
}
diff --git a/mpeglib/lib/util/render/x11/x11Surface.cpp b/mpeglib/lib/util/render/x11/x11Surface.cpp
index d7b8f052..0aaf7743 100644
--- a/mpeglib/lib/util/render/x11/x11Surface.cpp
+++ b/mpeglib/lib/util/render/x11/x11Surface.cpp
@@ -183,7 +183,7 @@ int X11Surface::open(int width, int height,const char *title, bool border) {
} else {
// depth is <= 8
// allocate memory for dithertables
- // gets the rgb masks
+ // gets the rgb tqmasks
initColorDisplay(xWindow);
// create 8 bit dithertables
// create private colormap