aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/windows/draw.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-12-07 02:50:05 +0100
committerStapleButter <thetotalworm@gmail.com>2017-12-07 02:50:05 +0100
commite4f030149b07228a06c6e05a7f0b0e19399d4427 (patch)
treece3bc16ca9a0ca9431492d5e4f1123389ec1b146 /src/libui_sdl/libui/windows/draw.cpp
parent18bcefe83be64d389702be04944f27cc7919e1f2 (diff)
add option to toggle filtering
Diffstat (limited to 'src/libui_sdl/libui/windows/draw.cpp')
-rw-r--r--src/libui_sdl/libui/windows/draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/libui/windows/draw.cpp b/src/libui_sdl/libui/windows/draw.cpp
index 5294e55..65f2535 100644
--- a/src/libui_sdl/libui/windows/draw.cpp
+++ b/src/libui_sdl/libui/windows/draw.cpp
@@ -555,7 +555,7 @@ void uiDrawBitmapUpdate(uiDrawBitmap* bmp, const void* data)
bmp->bmp->CopyFromMemory(&rekt, data, bmp->Stride);
}
-void uiDrawBitmapDraw(uiDrawContext* c, uiDrawBitmap* bmp, uiRect* srcrect, uiRect* dstrect, bool filter)
+void uiDrawBitmapDraw(uiDrawContext* c, uiDrawBitmap* bmp, uiRect* srcrect, uiRect* dstrect, int filter)
{
D2D_RECT_F _srcrect = D2D1::RectF(srcrect->X, srcrect->Y, srcrect->X+srcrect->Width, srcrect->Y+srcrect->Height);
D2D_RECT_F _dstrect = D2D1::RectF(dstrect->X, dstrect->Y, dstrect->X+dstrect->Width, dstrect->Y+dstrect->Height);