diff --git a/dub.json b/dub.json index 85682f9f..8fe12fc0 100644 --- a/dub.json +++ b/dub.json @@ -21,6 +21,7 @@ "targetType": "staticLibrary", "versions-posix": ["USE_SDL", "USE_OPENGL"], + "versions-windows": ["USE_OPENGL"], "copyFiles": ["res"], @@ -94,7 +95,7 @@ "derelict-sdl2": "~master", "derelict-gl3": "~master", "derelict-ft": "~master", - "dlib": ">=0.4.0" + "dlib": "~master" }, "-ddoxFilterArgs": ["--unittest-examples", "--min-protection=Protected", "--ex", "win32.", "--ex", "src.dlangui"] }, diff --git a/examples/example1/dub.json b/examples/example1/dub.json index e9475fb5..9ac74829 100644 --- a/examples/example1/dub.json +++ b/examples/example1/dub.json @@ -16,6 +16,7 @@ "copyFiles": ["res"], "versions-posix": ["USE_SDL", "USE_OPENGL"], + "versions-windows": ["USE_OPENGL"], "mainSourceFile": "src/main.d", diff --git a/examples/helloworld/dub.json b/examples/helloworld/dub.json index 5339e64b..6fcd6659 100644 --- a/examples/helloworld/dub.json +++ b/examples/helloworld/dub.json @@ -10,6 +10,7 @@ "targetType": "executable", "versions-posix": ["USE_SDL", "USE_OPENGL"], + "versions-windows": ["USE_OPENGL"], "sourceFiles": [ "src/app.d" diff --git a/examples/tetris/dub.json b/examples/tetris/dub.json index 1bd547b4..72fe39c1 100644 --- a/examples/tetris/dub.json +++ b/examples/tetris/dub.json @@ -16,6 +16,7 @@ "copyFiles": ["res"], "versions-posix": ["USE_SDL", "USE_OPENGL"], + "versions-windows": ["USE_OPENGL"], "mainSourceFile": "src/main.d", diff --git a/src/dlangui/graphics/images.d b/src/dlangui/graphics/images.d index d53d96c0..31524545 100644 --- a/src/dlangui/graphics/images.d +++ b/src/dlangui/graphics/images.d @@ -34,7 +34,7 @@ version (USE_DEIMAGE) { version (USE_DLIBIMAGE) { import dlib.image.io.io; import dlib.image.image; - //version = ENABLE_DLIBIMAGE_JPEG; + version = ENABLE_DLIBIMAGE_JPEG; } import dlangui.core.logger;