Commit graph

14 commits

Author SHA1 Message Date
Clownacy
2bcab6adee Change software renderer sub-backend API
No more locking
2020-09-14 23:26:55 +01:00
Clownacy
988f1128dd Convert a bunch of ints to size_t
ints are dumb - only use them when you have to
2020-09-10 17:36:21 +01:00
Clownacy
d80ef38af5 Lock SDL2 software renderer surface properly 2020-09-10 16:02:13 +01:00
Clownacy
b6c9467151 Switch software renderer to lockable framebuffer
SDL2 surfaces may require locking
2020-09-10 15:47:27 +01:00
Clownacy
1582af91cf Replace more float logic with integer-only
I hate floats >:(
2020-07-09 01:09:19 +01:00
Clownacy
6e486d9226 Er, actually remove those dead includes 2020-07-08 20:00:49 +01:00
Clownacy
ab82f014ae Avoid some float logic
Also shuts up some VS2019 warnings
2020-07-08 19:33:53 +01:00
Clownacy
565c79a4ce Fix GLFW3 software renderer in VS2019
GLFW will include these headers for us properly
2020-07-08 19:33:49 +01:00
Gabriel Ravier
81edd4db52 src: Restored SDL.h includes to conform to project style of including SDL2
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-07-02 14:59:55 +02:00
Gabriel Ravier
187847fbcc src: Fixed not including headers that are included for detection of conflicting definitions
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-07-02 14:43:47 +02:00
Gabriel Ravier
32c8795ead src: Cleaned up includes to only (and always) include what we use
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-07-01 18:26:22 +02:00
Clownacy
29f7c19a02 Fixed Null backend 2020-05-06 23:15:02 +01:00
Clownacy
5596c33b38 Fix stuff
Looks like the Null backend's been broken for a while though
2020-05-06 23:10:40 +01:00
Clownacy
e93ee47728 More backend rearranging
The Window stuff isn't meant for the user, so hide it a bit more
2020-05-06 23:02:08 +01:00