< prev index next >
src/java.desktop/unix/native/common/java2d/x11/X11PMBlitLoops.c
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 58,68 ****
}
if (Region_GetInfo(env, clip, &clipInfo)) {
return;
}
! xgc = (GC)gc;
if (xgc == NULL) {
return;
}
#ifdef MITSHM
--- 58,68 ----
}
if (Region_GetInfo(env, clip, &clipInfo)) {
return;
}
! xgc = (GC) jlong_to_ptr(gc);
if (xgc == NULL) {
return;
}
#ifdef MITSHM
*** 149,159 ****
dstXsdo = (X11SDOps *)jlong_to_ptr(dstData);
if (dstXsdo == NULL) {
return;
}
! dstGC = (GC)xgc;
if (dstGC == NULL) {
return;
}
#ifdef MITSHM
--- 149,159 ----
dstXsdo = (X11SDOps *)jlong_to_ptr(dstData);
if (dstXsdo == NULL) {
return;
}
! dstGC = (GC) jlong_to_ptr(xgc);
if (dstGC == NULL) {
return;
}
#ifdef MITSHM
< prev index next >