FIX!
This commit is contained in:
parent
245b7f7153
commit
f74e3372cd
|
|
@ -18,7 +18,7 @@ if(DEBUG)
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
add_compile_options(/EHr /fsanitize /validate-charset /DEBUG /RTCu /RTCs /RTCc /guard:cf /GS)
|
add_compile_options(/EHr /fsanitize /validate-charset /DEBUG /RTCu /RTCs /RTCc /guard:cf /GS)
|
||||||
else()
|
else()
|
||||||
add_compile_options(-g3 -O0 -fno-omit-frame-pointer -ggdb -Wall -fcheck-new -gbtf -ggnu-pubnames -fexceptions)
|
add_compile_options(-g3 -O0 -fno-omit-frame-pointer -ggdb -Wall -fcheck-new -gbtf)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
# Optimization stuff
|
# Optimization stuff
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ RB_METHOD(bitmapBlt){
|
||||||
int x, y;
|
int x, y;
|
||||||
VALUE srcObj;
|
VALUE srcObj;
|
||||||
VALUE srcRectObj;
|
VALUE srcRectObj;
|
||||||
unsigned short opacity = 255;
|
int opacity = 255;
|
||||||
|
|
||||||
Bitmap *src;
|
Bitmap *src;
|
||||||
Rect *srcRect;
|
Rect *srcRect;
|
||||||
|
|
@ -129,7 +129,7 @@ RB_METHOD(bitmapStretchBlt){
|
||||||
VALUE destRectObj;
|
VALUE destRectObj;
|
||||||
VALUE srcObj;
|
VALUE srcObj;
|
||||||
VALUE srcRectObj;
|
VALUE srcRectObj;
|
||||||
unsigned short opacity = 255;
|
int opacity = 255;
|
||||||
|
|
||||||
Bitmap *src;
|
Bitmap *src;
|
||||||
Rect *destRect, *srcRect;
|
Rect *destRect, *srcRect;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue