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 9cee7b7cd7cb38143be2275b2506fbd2a5a1d5f7
Author: Vincent Torri <vincent.to...@gmail.com>
AuthorDate: Fri Aug 18 22:00:55 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 0a60d77..1b66fab 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)
+```c[file]
struct vs_input
{
float2 position : POSITION;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.