Index: libobs-opengl/CMakeLists.txt
--- libobs-opengl/CMakeLists.txt.orig
+++ libobs-opengl/CMakeLists.txt
@@ -44,7 +44,8 @@ target_sources(
     gl-zstencil.c
 )
 
-target_compile_options(libobs-opengl PRIVATE $<$<COMPILE_LANG_AND_ID:C,AppleClang,Clang>:-Wno-strict-prototypes>)
+target_compile_options(libobs-opengl PRIVATE $<$<COMPILE_LANG_AND_ID:C,AppleClang,Clang>:-Wno-strict-prototypes>
+                                           $<$<AND:$<COMPILE_LANG_AND_ID:C,Clang>,$<PLATFORM_ID:OpenBSD>>:-Wno-incompatible-pointer-types>)
 
 target_compile_definitions(libobs-opengl PRIVATE $<$<PLATFORM_ID:Darwin>:GL_SILENCE_DEPRECATION>)
 
