mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 03:12:07 -05:00
4f690408af
Added a minimal dependency super mario port. (Only depends on SDL, SDL_image and SDL_mixer).
20 lines
489 B
Diff
20 lines
489 B
Diff
diff --git a/src/Core.cpp b/src/Core.cpp
|
|
index c04581b..f0c0308 100644
|
|
--- a/src/Core.cpp
|
|
+++ b/src/Core.cpp
|
|
@@ -36,7 +36,7 @@ CCore::CCore(void) {
|
|
quitGame = true;
|
|
}
|
|
|
|
- rR = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
|
|
+ rR = SDL_CreateRenderer(window, -1, 0);
|
|
|
|
// ----- ICO
|
|
std::string filename = "files/images/ico.bmp";
|
|
@@ -376,4 +376,4 @@ void CCore::resetMove() {
|
|
|
|
Map* CCore::getMap() {
|
|
return oMap;
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|