mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Remote changes at Mon Aug 7 14:38:50 EDT 2017 by chuan on vivaldi
This commit is contained in:
@@ -410,10 +410,11 @@ int llx, lly, width, height;
|
||||
*/
|
||||
cairopmap = XCreatePixmap(grXdpy, grXscrn, width, height, tcairoCurrent.depth);
|
||||
grCairoSurface = cairo_xlib_surface_create(grXdpy, cairopmap, grVisualInfo->visual, width, height);
|
||||
//cairo_set_source(grCairoContext);
|
||||
}
|
||||
else
|
||||
glXMakeCurrent(grXdpy, (GLXDrawable)toglCurrent.windowid, grXcontext);
|
||||
else {
|
||||
//glXMakeCurrent(grXdpy, (GLXDrawable)toglCurrent.windowid, grXcontext);
|
||||
grCairoSurface = cairo_xlib_surface_create(grXdpy, tcairoCurrent.window, grVisualInfo->visual, Tk_Width(tcairoCurrent.window), Tk_Height(tcairoCurrent.window));
|
||||
}
|
||||
|
||||
#ifndef OGL_SERVER_SIDE_ONLY
|
||||
/* For batch-processing lines and rectangles */
|
||||
|
||||
Reference in New Issue
Block a user