diff --git a/.gitignore b/.gitignore index cd531cf..4f546f4 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,7 @@ *.idb *.pdb + # Kernel Module Compile Results *.mod* *.cmd @@ -51,4 +52,5 @@ modules.order Module.symvers Mkfile.old dkms.conf +.vs/ diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 338a747..13d8ffd 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -16,6 +16,19 @@ "cStandard": "c17", "cppStandard": "c++20", "intelliSenseMode": "linux-gcc-x64" + }, + { + "name": "main", + "includePath": [ + "${default}" + ], + "defines": [ + "_DEBUG", + "UNICODE", + "_UNICODE" + ], + "windowsSdkVersion": "10.0.22621.0", + "compilerPath": "cl.exe" } ], "version": 4 diff --git a/src/src/Renderer.cpp b/src/src/Renderer.cpp index ea60596..3944f01 100644 --- a/src/src/Renderer.cpp +++ b/src/src/Renderer.cpp @@ -687,7 +687,7 @@ void Renderer::DrawAnimator(const AnimationComponent *anim, const core::types::V entry.sprite = nullptr; entry.texCoords = glm::vec4(uvMin.x, uvMin.y, uvMax.x, uvMax.y); - + SortedDrawEntry drawEntry; drawEntry.sprite = entry;