Fix minimal configuration for Linux

This commit is contained in:
Grim Maple 2022-10-22 18:56:39 +03:00
parent fd39c58658
commit a5def713ec
2 changed files with 4 additions and 3 deletions

View File

@ -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"
}
},
{

View File

@ -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) {