mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
Remove duplicate information in set_cmode
Calculating render_mode and display_mode variables from the arrays means less chance of mistakes (e.g. blob mode RENDER_EFFE was set in render_modes array but not in render_mode)
This commit is contained in:
@@ -223,6 +223,9 @@ int sdl_open(void);
|
||||
|
||||
int draw_debug_info(pixel* vid, int lm, int lx, int ly, int cx, int cy, int line_x, int line_y);
|
||||
|
||||
void init_display_modes();
|
||||
void update_display_modes();
|
||||
|
||||
#ifdef OGLR
|
||||
void clearScreen(float alpha);
|
||||
void ogl_blit(int x, int y, int w, int h, pixel *src, int pitch, int scale);
|
||||
|
Reference in New Issue
Block a user