diff options
| author | Erik Kundiman <erik@megapahit.org> | 2023-09-10 10:17:43 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2023-09-10 10:17:43 +0800 |
| commit | 040fe22d93fe67a73fc33493057f06f07371dbdd (patch) | |
| tree | a392cc84a82826652a0d92a005bc5aaf48dabc86 /indra/newview/lldrawpool.cpp | |
| parent | e67022465d8189eb30135b6b7c0fe477b3b91819 (diff) | |
Preprocess non portable OpenGL code
Diffstat (limited to 'indra/newview/lldrawpool.cpp')
| -rw-r--r-- | indra/newview/lldrawpool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lldrawpool.cpp b/indra/newview/lldrawpool.cpp index 3fd15d36df..f010a98404 100644 --- a/indra/newview/lldrawpool.cpp +++ b/indra/newview/lldrawpool.cpp @@ -365,7 +365,9 @@ void LLFacePool::LLOverrideFaceColor::setColor(const LLColor4& color) void LLFacePool::LLOverrideFaceColor::setColor(const LLColor4U& color) { +#if GL_VERSION_1_1 glColor4ubv(color.mV); +#endif } void LLFacePool::LLOverrideFaceColor::setColor(F32 r, F32 g, F32 b, F32 a) |
