mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 06:20:43 +09:00
Call -sc script on screenshot as well, only save screenshot if no error
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user