summaryrefslogtreecommitdiff
path: root/src/render/sdl2graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/sdl2graphics.cpp')
-rw-r--r--src/render/sdl2graphics.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp
index 38ddfe8d5..9c93c6e38 100644
--- a/src/render/sdl2graphics.cpp
+++ b/src/render/sdl2graphics.cpp
@@ -610,20 +610,6 @@ SDL_Surface *SDLGraphics::getScreenshot()
return screenshot;
}
-bool SDLGraphics::drawNet(const int x1, const int y1,
- const int x2, const int y2,
- const int width, const int height)
-{
- // +++ need use SDL_RenderDrawLines
- for (int y = y1; y < y2; y += height)
- drawLine(x1, y, x2, y);
-
- for (int x = x1; x < x2; x += width)
- drawLine(x, y1, x, y2);
-
- return true;
-}
-
void SDLGraphics::calcWindow(ImageCollection *const vertCol,
const int x, const int y,
const int w, const int h,