mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-08 17:53:00 +00:00
in SDL2, SDL_gfx functions seem to use a different order of components
This commit is contained in:
@@ -1039,11 +1039,11 @@ EX void drawCircle(int x, int y, int size, color_t color, color_t fillcolor IS(0
|
||||
#elif CAP_SDLGFX
|
||||
if(pconf.stretch == 1) {
|
||||
if(fillcolor) filledCircleColor(srend, x, y, size, fillcolor);
|
||||
if(color) ((vid.antialias && AA_NOGL)?aacircleColor:circleColor) (srend, x, y, size, color);
|
||||
if(color) ((vid.antialias && AA_NOGL)?aacircleColor:circleColor) (srend, x, y, size, align(color));
|
||||
}
|
||||
else {
|
||||
if(fillcolor) filledEllipseColor(srend, x, y, size, size * pconf.stretch, fillcolor);
|
||||
if(color) ((vid.antialias && AA_NOGL)?aaellipseColor:ellipseColor) (srend, x, y, size, size * pconf.stretch, color);
|
||||
if(color) ((vid.antialias && AA_NOGL)?aaellipseColor:ellipseColor) (srend, x, y, size, size * pconf.stretch, align(color));
|
||||
}
|
||||
#elif CAP_SDL
|
||||
int pts = size * 4;
|
||||
|
||||
Reference in New Issue
Block a user