Skip to content

Commit 8d21f6f

Browse files
committed
Fix link to Windows platform port in Custom platform ports
- Fix link to Linux Vulkan context code. - Add references to Direct3D 12.
1 parent 5b0f792 commit 8d21f6f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

contributing/development/core_and_modules/custom_platform_ports.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ for reference.
8282
class to get much of the work done automatically.
8383

8484
If the platform is not UNIX-like, you might use the
85-
`Windows port <https://github.com/godotengine/godot/blob/master/platform/windows/os_windows.cpp>`
85+
`Windows port <https://github.com/godotengine/godot/blob/master/platform/windows/os_windows.cpp>`__
8686
as a reference.
8787

8888
**detect.py file**
@@ -131,7 +131,8 @@ games.
131131
platform's screen resolution feature (if relevant). Any attempt to create
132132
or manipulate other window IDs can be rejected.
133133
- *If the target platform supports the graphics APIs in question:* Rendering
134-
context for `Vulkan <https://github.com/godotengine/godot/blob/master/platform/linuxbsd/x11/vulkan_context_x11.cpp>`__,
134+
context for `Vulkan <https://github.com/godotengine/godot/blob/master/platform/linuxbsd/x11/rendering_context_driver_vulkan_x11.cpp>`__,
135+
`Direct3D 12 <https://github.com/godotengine/godot/blob/master/drivers/d3d12/rendering_context_driver_d3d12.cpp>`__
135136
`OpenGL 3.3 or OpenGL ES 3.0 <https://github.com/godotengine/godot/blob/master/platform/linuxbsd/x11/gl_manager_x11.cpp>`__.
136137
- Input handlers for `keyboard <https://github.com/godotengine/godot/blob/master/platform/linuxbsd/x11/key_mapping_x11.cpp>`__
137138
and `controller <https://github.com/godotengine/godot/blob/master/platform/linuxbsd/joypad_linux.cpp>`__.
@@ -157,8 +158,8 @@ games.
157158
is displayed at the top of the editor when one-click deploy is set up for the
158159
target platform.
159160

160-
If the target platform doesn't support running Vulkan, OpenGL 3.3 or OpenGL ES 3.0,
161-
you have two options:
161+
If the target platform doesn't support running Vulkan, Direct3D 12, OpenGL 3.3,
162+
or OpenGL ES 3.0, you have two options:
162163

163164
- Use a library at run-time to translate Vulkan or OpenGL calls to another graphics API.
164165
For example, `MoltenVK <https://moltengl.com/moltenvk/>`__ is used on macOS

0 commit comments

Comments
 (0)