mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 859024 - Remove the MSVC exemption for FAIL_ON_WARNINGS in content/canvas/src. r=jmuizelaar
This commit is contained in:
parent
d838e54180
commit
32dba1647d
@ -12,9 +12,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
LIBRARY_NAME = gkconcvs_s
|
||||
LIBXUL_LIBRARY = 1
|
||||
ifndef _MSC_VER
|
||||
FAIL_ON_WARNINGS = 1
|
||||
endif # !_MSC_VER
|
||||
|
||||
CPPSRCS = \
|
||||
CanvasImageCache.cpp \
|
||||
|
@ -359,7 +359,7 @@ WebGLContext::ConvertImage(size_t width, size_t height, size_t srcStride, size_t
|
||||
ptrdiff_t signedDstStride = dstStride;
|
||||
if (mPixelStoreFlipY) {
|
||||
dstStart = dst + (height - 1) * dstStride;
|
||||
signedDstStride = -dstStride;
|
||||
signedDstStride = -signedDstStride;
|
||||
}
|
||||
|
||||
WebGLImageConverter converter(width, height, src, dstStart, srcStride, signedDstStride);
|
||||
|
Loading…
Reference in New Issue
Block a user