OpenGL: use FFOpenGLOptions in detection code

This commit is contained in:
李通洲
2023-08-24 09:55:00 +08:00
parent b1ac31f590
commit bc6ed4f4a2
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ void ffPrintOpenGL(FFOpenGLOptions* options)
ffStrbufInit(&result.vendor);
ffStrbufInit(&result.slv);
const char* error = ffDetectOpenGL(&result);
const char* error = ffDetectOpenGL(options, &result);
if(error)
{
ffPrintError(FF_OPENGL_MODULE_NAME, 0, &options->moduleArgs, "%s", error);