diff --git a/dub.json b/dub.json index 7da7bb25..743834d1 100644 --- a/dub.json +++ b/dub.json @@ -87,13 +87,14 @@ { "name": "minimal", "versions": ["EmbedStandardResources", "ForceLogs"], - "versions-posix": ["USE_SDL", "USE_FREETYPE", "NO_OPENGL"], + "versions-posix": ["USE_SDL", "USE_FREETYPE", "NO_OPENGL", "SDL_204"], "versions-windows": ["Unicode" ,"NO_OPENGL"], "libs-windows": ["opengl32"], "dependencies-posix": { "bindbc-opengl": "~>1.0.0", "bindbc-freetype": "~>1.0.0", - "bindbc-sdl": "~>1.0.0" + "bindbc-sdl": "~>1.0.0", + "icontheme": "~>1.2.3" } }, { diff --git a/src/dlangui/platforms/sdl/sdlapp.d b/src/dlangui/platforms/sdl/sdlapp.d index 5d7cfbbe..cc3f8f5f 100644 --- a/src/dlangui/platforms/sdl/sdlapp.d +++ b/src/dlangui/platforms/sdl/sdlapp.d @@ -40,12 +40,12 @@ import dlangui.widgets.widget; import dlangui.platforms.common.platform; import bindbc.sdl; +import loader = bindbc.loader.sharedlib; static if (ENABLE_OPENGL) { import bindbc.opengl; import dlangui.graphics.gldrawbuf; import dlangui.graphics.glsupport; - import loader = bindbc.loader.sharedlib; } private void sdlCheckMissingSymFunc(const(loader.ErrorInfo)[] errors) {