aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cuda.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-08-24 21:07:58 +0200
committerdec05eba <dec05eba@protonmail.com>2025-08-24 21:07:58 +0200
commit5a93d292ea361f16cf1138bfd0617b234bf6b1b2 (patch)
tree45f34a756f15661c1ae54084e3f4e2bb8b939dce /src/cuda.c
parent48932dfdfbb2039e5c8026a15853c29c1c8031fb (diff)
Call -sc script on screenshot as well, only save screenshot if no error
Diffstat (limited to 'src/cuda.c')
-rw-r--r--src/cuda.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda.c b/src/cuda.c
index 23954a4..00683cf 100644
--- a/src/cuda.c
+++ b/src/cuda.c
@@ -65,6 +65,7 @@ bool gsr_cuda_load(gsr_cuda *self, Display *display, bool do_overclock) {
goto fail;
}
+ // TODO: Use the device associated with the opengl graphics context
CUdevice cu_dev;
res = self->cuDeviceGet(&cu_dev, 0);
if(res != CUDA_SUCCESS) {