diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-12-07 02:50:05 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-12-07 02:50:05 +0100 |
commit | e4f030149b07228a06c6e05a7f0b0e19399d4427 (patch) | |
tree | ce3bc16ca9a0ca9431492d5e4f1123389ec1b146 /src/libui_sdl/libui/windows/draw.cpp | |
parent | 18bcefe83be64d389702be04944f27cc7919e1f2 (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.cpp | 2 |
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); |