mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 07:21:02 +00:00
* Source/cairo/CairoGState.m
abs -> fabs * Source/x11/XGGLContext.m format string fix * Headers/x11/XGOpenGL.h glxminorversion is int, not long int Looks good, Ivan Vucica git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38554 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
af03e424c8
commit
6dadfff996
4 changed files with 13 additions and 4 deletions
|
@ -1,3 +1,12 @@
|
|||
2015-05-26: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
|
||||
* Source/cairo/CairoGState.m
|
||||
abs -> fabs
|
||||
* Source/x11/XGGLContext.m
|
||||
format string fix
|
||||
* Headers/x11/XGOpenGL.h
|
||||
glxminorversion is int, not long int
|
||||
|
||||
2015-05-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoGState.m: Add support for image interpolation
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
@interface XGGLPixelFormat : NSOpenGLPixelFormat
|
||||
{
|
||||
Display * display;
|
||||
long int glxminorversion;
|
||||
int glxminorversion;
|
||||
|
||||
GLXFBConfig *fbconfig;
|
||||
int pickedFBConfig;
|
||||
|
|
|
@ -859,8 +859,8 @@ static inline cairo_filter_t cairoFilterFromNSImageInterpolation(NSImageInterpol
|
|||
r = [ctm rectInMatrixSpace: r];
|
||||
x = NSWidth(r);
|
||||
y = NSHeight(r);
|
||||
ix = abs(floor(x));
|
||||
iy = abs(floor(y));
|
||||
ix = fabs(floor(x));
|
||||
iy = fabs(floor(y));
|
||||
ssize = NSMakeSize(ix, iy);
|
||||
|
||||
dict = [NSMutableDictionary dictionary];
|
||||
|
|
|
@ -506,7 +506,7 @@ static XGGLContext *currentGLContext;
|
|||
saved_ignores_backing = [view _ignoresBacking];
|
||||
[view _setIgnoresBacking: YES];
|
||||
|
||||
NSDebugMLLog(@"GLX", @"glx_window : %u", glx_drawable);
|
||||
NSDebugMLLog(@"GLX", @"glx_window : %lu", (unsigned long) glx_drawable);
|
||||
}
|
||||
|
||||
- (void)update
|
||||
|
|
Loading…
Reference in a new issue