403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
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/games/allacrost/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/games/allacrost/files/patch-src_engine_video_video.cpp
--- src/engine/video/video.cpp.orig	2010-05-16 23:38:27 UTC
+++ src/engine/video/video.cpp
@@ -470,7 +470,7 @@ bool VideoEngine::ApplySettings() {
 		SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 4);
 		SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1);
 
-		if (SDL_SetVideoMode(_temp_width, _temp_height, 0, flags) == false) {
+		if (SDL_SetVideoMode(_temp_width, _temp_height, 0, flags) == nullptr) {
 			// RGB values of 1 for each and 8 for depth seemed to be sufficient.
 			// 565 and 16 here because it works with them on this computer.
 			// NOTE from prophile: this ought to be changed to 5558
@@ -483,7 +483,7 @@ bool VideoEngine::ApplySettings() {
 			SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 0);
 			SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1);
 
-			if (SDL_SetVideoMode(_temp_width, _temp_height, 0, flags) == false) {
+			if (SDL_SetVideoMode(_temp_width, _temp_height, 0, flags) == nullptr) {
 				IF_PRINT_WARNING(VIDEO_DEBUG) << "SDL_SetVideoMode() failed with error: " << SDL_GetError() << endl;
 
 				_temp_fullscreen = _fullscreen;

Youez - 2016 - github.com/yon3zu
LinuXploit