Skip to content

Commit fa9303b

Browse files
authored
Merge pull request #3 from SKY-13th/hotfix/Fix_system_related_dependencies_issue
Fix system related dependencies issue
2 parents acae5fa + 1168559 commit fa9303b

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# DerelictVulkan
2-
Vulkan api bindings
2+
Dynamic Vulkan api bindings
33

44
Don't expect it to work until version 1.0.0
55

6-
Currently only _Windows_ is supported.
7-
Feel free to make pull request for other OSes.
6+
Currently only __Windows__ and __Posix__(__Xlib__, __XCB__) is supported.
7+
Feel free to make pull request for other OSes.
8+
9+
On __Posix__ to use __Xlib__ or/and __XCB__ specific functionality:
10+
- Add required library to your dependencies list
11+
- Add related version flag(s):
12+
- **VK_USE_PLATFORM_XLIB_KHR**
13+
- **VK_USE_PLATFORM_XCB_KHR**

dub.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"targetType": "library",
99
"dependencies": {
1010
"derelict-util" : ">=1.0.0",
11-
"xlib-d": "~>0.1.1",
12-
"xcb-d": "~>2.1.0+1.11.1"
11+
"xlib-d": { "version": "~>0.1.1", "optional": true },
12+
"xcb-d" : { "version": "~>2.1.0+1.11.1", "optional": true }
1313
}
1414
}

0 commit comments

Comments
 (0)