diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-11 13:21:23 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-11 13:21:23 +0800 |
commit | 27d50140177100d8b87322176ded972fda05318c (patch) | |
tree | fc5383258ed4344cf251bd58d0fe28ddc377eca8 /indra/newview/llviewerdisplay.cpp | |
parent | 2a1565fa402578d2170b0e86db99c9cb2fdab1cb (diff) |
Preprocess non portable OpenGL 1.1 code
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r-- | indra/newview/llviewerdisplay.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index 04ca62e0ec..b3c3138d70 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -1542,7 +1542,9 @@ void render_ui_2d() // Render 2D UI elements that overlay the world (no z compare) // Disable wireframe mode below here, as this is HUD/menus +#if GL_VERSION_1_1 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); +#endif // Menu overlays, HUD, etc gViewerWindow->setup2DRender(); |