Use the SDL entry-point signature in the video lifetime test (by Codex)
Prepare verified release / draft (push) Waiting to run
Prepare verified release / draft (push) Waiting to run
This commit is contained in:
1 parent
6d97b60ebc
commit
12e3e52537
1 file changed
+1
-1
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
#include "app/video_session.hpp"
|
||||
#include <iostream>
|
||||
int main()try {
|
||||
int main(int, char**)try {
|
||||
SDL_setenv("SDL_VIDEODRIVER","dummy",1);
|
||||
{ bmh::app::VideoSession video;
|
||||
if (!(SDL_WasInit(SDL_INIT_VIDEO) & SDL_INIT_VIDEO)) return 1;
|
||||
|
||||
Reference in new issue
Block a user