Fixed bug 3539 - SDL2, missing MIR LDFLAGS
Gianfranco Hello, this is the failure I got https://launchpadlibrarian.net/300679206/buildlog_ubuntu-zesty-amd64.libsdl2_2.0.5+dfsg1-2ubuntu1_BUILDING.txt.gz LTLINK build/libSDL2.la build/.libs/SDL_mirvideo.o: In function `MIR_InitDisplayFromOutput': ././src/video/mir/SDL_mirvideo.c:258: undefined reference to `mir_output_get_current_mode' collect2: error: ld returned 1 exit status
parent
67ed894353
commit
18d9b23c65
|
@ -102,6 +102,7 @@ SDL_MIR_SYM(void,mir_display_config_release,(MirDisplayConfig* config))
|
|||
SDL_MIR_SYM(int,mir_display_config_get_num_outputs,(MirDisplayConfig const* config))
|
||||
SDL_MIR_SYM(MirOutput*,mir_display_config_get_mutable_output,(MirDisplayConfig* config, size_t index))
|
||||
SDL_MIR_SYM(int,mir_output_get_num_modes,(MirOutput const* output))
|
||||
SDL_MIR_SYM(MirOutputMode const*,mir_output_get_current_mode,(MirOutput const* output))
|
||||
SDL_MIR_SYM(MirPixelFormat,mir_output_get_current_pixel_format,(MirOutput const* output))
|
||||
SDL_MIR_SYM(int,mir_output_get_position_x,(MirOutput const* output))
|
||||
SDL_MIR_SYM(int,mir_output_get_position_y,(MirOutput const* output))
|
||||
|
|
|
@ -255,7 +255,7 @@ MIR_InitDisplayFromOutput(_THIS, MirOutput* output)
|
|||
|
||||
MirPixelFormat format = MIR_mir_output_get_current_pixel_format(output);
|
||||
int num_modes = MIR_mir_output_get_num_modes(output);
|
||||
SDL_DisplayMode current_mode = MIR_ConvertModeToSDLMode(mir_output_get_current_mode(output), format);
|
||||
SDL_DisplayMode current_mode = MIR_ConvertModeToSDLMode(MIR_mir_output_get_current_mode(output), format);
|
||||
|
||||
SDL_zero(display);
|
||||
|
||||
|
|
Loading…
Reference in New Issue