summaryrefslogtreecommitdiffhomepage
path: root/dev/LibSCI/GPU.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/LibSCI/GPU.h')
-rw-r--r--dev/LibSCI/GPU.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/LibSCI/GPU.h b/dev/LibSCI/GPU.h
index 6ee937f5..fee621e6 100644
--- a/dev/LibSCI/GPU.h
+++ b/dev/LibSCI/GPU.h
@@ -10,7 +10,7 @@ Purpose: GFX System Calls.
#ifndef SCIKIT_GPU_H
#define SCIKIT_GPU_H
-#include <SCI.h>
+#include <LibSCI/SCI.h>
struct GPUCmdBuffer;
@@ -31,7 +31,7 @@ struct GPUCmdBuffer final
Bool isGPGPUData()
{
- return !this->BufferFirst && this->IsGPGPUData;
+ return this->isValid() && !this->BufferFirst && this->IsGPGPUData;
}
Bool isValid()