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

git pushed a commit to branch master
in repository direct3d.

View the commit online.

commit 61f01f14a99685feeed628282978d4dc4f4de2a6
Author: Vincent Torri <[email protected]>
AuthorDate: Wed Aug 3 10:57:43 2022 +0200

    Add comment about evolution of code, fix display error
---
 src/d3d_5.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/d3d_5.c b/src/d3d_5.c
index d229b15..525bc4e 100644
--- a/src/d3d_5.c
+++ b/src/d3d_5.c
@@ -1,5 +1,12 @@
-
-/* gcc -g -O2 -Wall -Wextra -o d3d_5 d3d_5.c win.c -ld3d11 -ld3dcompiler -ldxgi -luuid -D_WIN32_WINNT=0x0A00 */
+/*
+ * Tutorial part 5
+ *
+ * Manage rotation (still, bug of 1 pixel with 90 and 270 deg)
+ *
+ * Compilation:
+ *
+ * gcc -g -O2 -Wall -Wextra -o d3d_5 d3d_5.c win.c -ld3d11 -ld3dcompiler -ldxgi -luuid -D_WIN32_WINNT=0x0A00
+ */
 
 #include <stdlib.h> /* calloc() free() malloc() */
 #include <stdio.h>  /* printf() fflush() */
@@ -315,7 +322,7 @@ D3d *d3d_init(Window *win, int vsync)
 
     if (FAILED(res))
     {
-        printf(" * vs error : %s\n", (char *)ID3D10Blob_GetBufferPointer(err_blob));
+        printf(" * CreateVertexShader() failed\n");
         ID3D10Blob_Release(vs_blob);
         goto release_d3D_rasterizer;
     }

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

Reply via email to