ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


engine_info

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
engine_info [2019/04/22 00:28] korshunengine_info [2019/04/22 05:57] – [IsOpenGL] korshun
Line 59: Line 59:
 <note important>Calling this function serverside is an error, because the server has no renderer at all. Nonetheless, this function will return true in that case, because the OpenGL renderer generally has less restrictions.</note> <note important>Calling this function serverside is an error, because the server has no renderer at all. Nonetheless, this function will return true in that case, because the OpenGL renderer generally has less restrictions.</note>
  
-=== Detection method ===+==== Detection method ====
  
 This function first calls ''IsGZDoom'' to check if the port is GZDoom or a derivative like Zandronum. If the port is not a GZDoom derivative, it can't have the OpenGL renderer, and this function returns false. This is to prevent detecting the OpenGL renderer when ZDoom is run with a config from GZDoom which has ''vid_renderer=1''. This function first calls ''IsGZDoom'' to check if the port is GZDoom or a derivative like Zandronum. If the port is not a GZDoom derivative, it can't have the OpenGL renderer, and this function returns false. This is to prevent detecting the OpenGL renderer when ZDoom is run with a config from GZDoom which has ''vid_renderer=1''.