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 1fd3a4404925f3104b76e3e7de1740c50cd80751
Author: Vincent Torri <vincent.to...@gmail.com>
AuthorDate: Fri Aug 18 22:01:41 2023 -0700
Update 'Direct3D 11 for 2D: Display a pink triangle'
---
Direct3D-11-for-2D%3A-Display-a-pink-triangle.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Direct3D-11-for-2D%3A-Display-a-pink-triangle.md b/Direct3D-11-for-2D%3A-Display-a-pink-triangle.md
index 1b66fab..ea4257f 100644
--- a/Direct3D-11-for-2D%3A-Display-a-pink-triangle.md
+++ b/Direct3D-11-for-2D%3A-Display-a-pink-triangle.md
@@ -68,7 +68,7 @@ We have to pass the vertices of our triangle (which are the geometric data) to t
The code below is the HLSL code which contains both the function `main_vs()` for the vertex shader program, and the function `main_ps()` for the pixel shader program. Save it under the name `shader_1.hlsl`.
-```c[file]
+```[file]c
struct vs_input
{
float2 position : POSITION;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.