File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1513,12 +1513,10 @@ elseif(OHOS)
1513
1513
set (SDL_VIDEO_DRIVER_OHOS 1 )
1514
1514
sdl_glob_sources ("${SDL3_SOURCE_DIR} /src/video/ohos/*.c" )
1515
1515
set (HAVE_SDL_VIDEO TRUE )
1516
- set (SDL_VULKAN ON )
1517
1516
set (HAVE_VULKAN ON )
1518
1517
set (SDL_VIDEO_VULKAN ON )
1519
1518
set (SDL_VIDEO_RENDER_VULKAN 1 )
1520
1519
set (HAVE_RENDER_VULKAN TRUE )
1521
- add_definitions (-DVK_USE_PLATFORM_OHOS=1 )
1522
1520
1523
1521
if (SDL_OPENGLES )
1524
1522
set (SDL_VIDEO_OPENGL_EGL 1 )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -107,6 +107,9 @@ static VideoBootStrap *bootstrap[] = {
107
107
#ifdef SDL_VIDEO_DRIVER_ANDROID
108
108
& Android_bootstrap ,
109
109
#endif
110
+ #ifdef SDL_VIDEO_DRIVER_OHOS
111
+ & OHOS_bootstrap ,
112
+ #endif
110
113
#ifdef SDL_VIDEO_DRIVER_PS2
111
114
& PS2_bootstrap ,
112
115
#endif
@@ -148,9 +151,6 @@ static VideoBootStrap *bootstrap[] = {
148
151
#endif
149
152
#ifdef SDL_VIDEO_DRIVER_OPENVR
150
153
& OPENVR_bootstrap ,
151
- #endif
152
- #ifdef SDL_VIDEO_DRIVER_OHOS
153
- & OHOS_bootstrap ,
154
154
#endif
155
155
NULL
156
156
};
You can’t perform that action at this time.
0 commit comments