mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 06:20:43 +09:00
glClearColor, update readme with video link of gpu screen recorder vs obs smoothness
This commit is contained in:
@@ -456,6 +456,7 @@ static vec2i swap_vec2i(vec2i value) {
|
||||
static int gsr_capture_kms_vaapi_capture(gsr_capture *cap, AVFrame *frame) {
|
||||
gsr_capture_kms_vaapi *cap_kms = cap->priv;
|
||||
|
||||
cap_kms->params.egl->glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
||||
cap_kms->params.egl->glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
for(int i = 0; i < cap_kms->kms_response.num_fds; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user