< prev index next >

modules/graphics/src/main/native-prism-sw/PiscesSurface.inl

Print this page
rev 9617 : imported patch 8u121.patch

*** 47,56 **** --- 47,57 ---- } static INLINE void surface_setRGB(Surface* dstSurface, jint x, jint y, jint width, jint height, jint* data, jint scanLength) { + if (dstSurface->data == NULL) return; setRGB((jint*)dstSurface->data + y * dstSurface->width + x, dstSurface->width, data, scanLength, width, height); }
< prev index next >