diff options
| author | dec05eba <dec05eba@protonmail.com> | 2025-08-24 21:07:58 +0200 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2025-08-24 21:07:58 +0200 |
| commit | 5a93d292ea361f16cf1138bfd0617b234bf6b1b2 (patch) | |
| tree | 45f34a756f15661c1ae54084e3f4e2bb8b939dce /src/cuda.c | |
| parent | 48932dfdfbb2039e5c8026a15853c29c1c8031fb (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |
