This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository Direct3D.wiki.

View the commit online.

commit 949265647987543dac0eab6e34ffbd529f1c71dc
Author: Vincent Torri <vincent.to...@gmail.com>
AuthorDate: Fri Aug 18 22:38:55 2023 -0700

    Update 'Direct3D 11 for 2D: Fill background'
---
 Direct3D-11-for-2D%3A-Fill-background.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Direct3D-11-for-2D%3A-Fill-background.md b/Direct3D-11-for-2D%3A-Fill-background.md
index 39c626e..98cc9d0 100644
--- a/Direct3D-11-for-2D%3A-Fill-background.md
+++ b/Direct3D-11-for-2D%3A-Fill-background.md
@@ -3,10 +3,10 @@
 It is time to add some Direct3D code:
 
 * a structure which will contain the necessary Direct3D variables,
-* the d3d_init() function which will create resources,
-* the d3d_shutdown() function which will release resources,
-* the d3d_resize() function which will handle window resize
-* the d3d_render() function which will set the resources of the needed pipeline stages, fill the background with a color and display the result.
+* the `d3d_init()` function which will create resources,
+* the `d3d_shutdown()` function which will release resources,
+* the `d3d_resize()` function which will handle window resize
+* the `d3d_render()` function which will set the resources of the needed pipeline stages, fill the background with a color and display the result.
 
 Note that filling the background will be useless for an EFL-based application as the background will be anyway filled with a rectangle or image. It is used only to show something in this tutorial.
 
@@ -48,7 +48,7 @@ The steps are:
 
 1. Create the DXGI factory.
 2. Create the D3D11 device and device context.
-3. Get the vertical synchronization frequency by calling the function d3d_refresh_rate_get(). The frequency is a rational number, meaning that it has a numerator and a denominator. If the user does not want to honor vsync, the frequency has numerator equal to 0 and denominator equal to 1.
+3. Get the vertical synchronization frequency by calling the function `d3d_refresh_rate_get()`. The frequency is a rational number, meaning that it has a numerator and a denominator. If the user does not want to honor vsync, the frequency has numerator equal to 0 and denominator equal to 1.
 4. Create the DXGI swap chain. It requires some settings, mainly:
  * the Win32 window,
  * the size of the Win32 window,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to