From 701ab62ee9e3d723e01223f38ebd4d1804f6f2ad Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 12 Feb 2025 08:17:05 +0100 Subject: ADD: Close to a final AHCI product. Signed-off-by: Amlal El Mahrouss --- dev/LibSCI/GPU.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/LibSCI/GPU.h') 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 +#include 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() -- cgit v1.2.3