summaryrefslogtreecommitdiffhomepage
path: root/dev/ZWM
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ZWM')
-rw-r--r--dev/ZWM/Sources/zwm_main.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/dev/ZWM/Sources/zwm_main.cxx b/dev/ZWM/Sources/zwm_main.cxx
index 38d441bd..f1f7fbe7 100644
--- a/dev/ZWM/Sources/zwm_main.cxx
+++ b/dev/ZWM/Sources/zwm_main.cxx
@@ -10,23 +10,23 @@
#include <DDK/KernelStd.h>
#include <cstdint>
-static uint32_t cGPUIndexHW = 0U;
-static struct DDK_OBJECT_MANIFEST* cGPUObject = nullptr;
+static uint32_t cGPUIndexHW = 0U;
+static struct DDK_OBJECT_MANIFEST* cGPUObject = nullptr;
/** @brief ZWM main, ZWM acts a proxy to the Installed GPU Driver. */
int32_t ModuleMain(void)
{
- int index_gpu = 0;
- struct DDK_OBJECT_MANIFEST* gpu_object = nullptr;
+ int index_gpu = 0;
+ struct DDK_OBJECT_MANIFEST* gpu_object = nullptr;
- while (!gpu_object)
- {
- gpu_object = KernelGetObject(index_gpu, "GPU_OBJECT");
- ++index_gpu;
- }
+ while (!gpu_object)
+ {
+ gpu_object = KernelGetObject(index_gpu, "GPU_OBJECT");
+ ++index_gpu;
+ }
- cGPUIndexHW = index_gpu;
- cGPUObject = gpu_object;
+ cGPUIndexHW = index_gpu;
+ cGPUObject = gpu_object;
- return 0;
+ return 0;
}