This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| renderer_identification [2019/08/26 00:18] – korshun | renderer_identification [2019/08/26 00:55] (current) – removed korshun | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Renderer identification ====== | ||
| - | |||
| - | ===== Introduction ===== | ||
| - | |||
| - | You can identify whether the software or OpenGL renderer is currently being used by using '' | ||
| - | |||
| - | <note warning> | ||
| - | **Things not to do:** | ||
| - | * don't just check '' | ||
| - | * don't just check for '' | ||
| - | * don't just use [[source_port_identification|IsGZDoom]] and assume that if the engine is GZDoom, the user is playing in OpenGL renderer. | ||
| - | * don't store the value of '' | ||
| - | * don't check the renderer serverside -- the server has no renderer. | ||
| - | </ | ||
| - | |||
| - | ===== IsOpenGL ===== | ||
| - | |||
| - | '' | ||
| - | |||
| - | <note tip>The renderer can change mid-game. Don't store the result of '' | ||
| - | |||
| - | ===== How it works ===== | ||