mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-09-25 13:27:12 +03:00
Update to SDL3 (#1283)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#define HELP_DEFINITION
|
||||
#include "UtilityClass.h"
|
||||
|
||||
#include <SDL.h>
|
||||
#include <SDL3/SDL.h>
|
||||
#include <sstream>
|
||||
|
||||
#include "Constants.h"
|
||||
@@ -216,7 +216,7 @@ std::string UtilityClass::number_words(int _t, const char* number_class)
|
||||
|
||||
bool UtilityClass::intersects( SDL_Rect A, SDL_Rect B )
|
||||
{
|
||||
return (SDL_HasIntersection(&A, &B) == SDL_TRUE);
|
||||
return (SDL_HasRectIntersection(&A, &B) == true);
|
||||
}
|
||||
|
||||
void UtilityClass::updateglow(void)
|
||||
|
||||
Reference in New Issue
Block a user