Browse Source

libobs: Fix gs_duplicator_get_texture function check

ckelsel 4 years ago
parent
commit
9e07c42d74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs/graphics/graphics.c

+ 1 - 1
libobs/graphics/graphics.c

@@ -2833,7 +2833,7 @@ bool gs_duplicator_update_frame(gs_duplicator_t *duplicator)
 {
 {
 	if (!gs_valid_p("gs_duplicator_update_frame", duplicator))
 	if (!gs_valid_p("gs_duplicator_update_frame", duplicator))
 		return false;
 		return false;
-	if (!thread_graphics->exports.gs_duplicator_get_texture)
+	if (!thread_graphics->exports.gs_duplicator_update_frame)
 		return false;
 		return false;
 
 
 	return thread_graphics->exports.gs_duplicator_update_frame(duplicator);
 	return thread_graphics->exports.gs_duplicator_update_frame(duplicator);