summaryrefslogtreecommitdiff
path: root/src/video/opengl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/opengl.cpp')
-rw-r--r--src/video/opengl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/opengl.cpp b/src/video/opengl.cpp
index 2014d1cf9..6e37db03b 100644
--- a/src/video/opengl.cpp
+++ b/src/video/opengl.cpp
@@ -146,7 +146,7 @@ GetOGLProcAddressProc GetOGLProcAddress;
*/
const char *FindStringInExtensionList(const char *string, const char *substring)
{
- while (1) {
+ while (true) {
/* Is the extension string present at all? */
const char *pos = strstr(string, substring);
if (pos == nullptr) break;