ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:isopengl

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
functions:isopengl [2017/03/17 22:16] – created korshunfunctions:isopengl [2019/08/26 03:45] – old revision restored (2019/08/26 03:44) korshun
Line 1: Line 1:
 ====== IsOpenGL ====== ====== IsOpenGL ======
-{{tag>info}}+{{tag>info needs_examples}} 
 +''bool IsOpenGL()''
  
 +===== Description =====
 Returns true if the OpenGL renderer is being used by the client, false if software. Returns true if the OpenGL renderer is being used by the client, false if software.
  
Line 14: Line 16:
  
 <note important> <note important>
-This function will return an incorrect value if ''vid_renderer'' or ''gl_nogl'' is changed mid-game because the renderer only actually switches after restart, but the values of the cvars change instantly+This function will return an incorrect value if ''vid_renderer'' or ''gl_nogl'' is changed mid-game because the renderer only actually switches after restart, but the values of the cvars change immediately
 </note> </note>
 +