mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 14:56:17 +00:00
Build portability fixes and name input issue fix
This commit is contained in:
parent
7275291e7d
commit
79fc639b83
3 changed files with 5 additions and 5 deletions
4
mkxp.pro
4
mkxp.pro
|
|
@ -45,8 +45,8 @@ contains(BINDING, NULL) {
|
|||
unix {
|
||||
CONFIG += c++11
|
||||
PKGCONFIG += sigc++-2.0 pixman-1 vorbisfile \
|
||||
sdl2 SDL2_image SDL2_ttf SDL_sound
|
||||
LIBS += -ldl -lphysfs
|
||||
sdl2 SDL2_image SDL2_ttf SDL_sound physfs
|
||||
LIBS += -ldl
|
||||
macx: {
|
||||
CONFIG -= app_bundle
|
||||
INCLUDEPATH += $$QMAKE_MAC_SDK_PATH/System/Library/Frameworks/OpenAL.framework/Versions/A/Headers
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ class Window_NameInput < Window_Base
|
|||
@index = 0
|
||||
|
||||
# Create dimension information
|
||||
@character_table = $language.character_table
|
||||
@group_height = $language.character_table_height
|
||||
@character_table = $lang.character_table
|
||||
@group_height = $lang.character_table_height
|
||||
@group_size = @group_height * GROUP_WIDTH
|
||||
@num_groups = @character_table.length / @group_size
|
||||
@start_x = ((width - 32) - @num_groups * 152 + 12) / 2
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ static void APIENTRY arbDebugFunc(GLenum source,
|
|||
(void) id;
|
||||
(void) length;
|
||||
|
||||
if (severity == 0x826B) // GL_DEBUG_SEVERITY_NOTIFICATION
|
||||
if (severity != GL_DEBUG_SEVERITY_HIGH_ARB)
|
||||
return;
|
||||
|
||||
p->writeTimestamp();
|
||||
|
|
|
|||
Loading…
Reference in a new issue