Line 0
Link Here
|
|
|
1 |
--- xbmc/utils/GLUtils.cpp.orig 2022-12-21 00:14:18 UTC |
2 |
+++ xbmc/utils/GLUtils.cpp |
3 |
@@ -148,27 +148,27 @@ void _VerifyGLState(const char* szfile, const char* sz |
4 |
void LogGraphicsInfo() |
5 |
{ |
6 |
#if defined(HAS_GL) || defined(HAS_GLES) |
7 |
- const GLubyte *s; |
8 |
+ const char *s; |
9 |
|
10 |
- s = glGetString(GL_VENDOR); |
11 |
+ s = reinterpret_cast<const char*>(glGetString(GL_VENDOR)); |
12 |
if (s) |
13 |
CLog::Log(LOGINFO, "GL_VENDOR = %s", s); |
14 |
else |
15 |
CLog::Log(LOGINFO, "GL_VENDOR = NULL"); |
16 |
|
17 |
- s = glGetString(GL_RENDERER); |
18 |
+ s = reinterpret_cast<const char*>(glGetString(GL_RENDERER)); |
19 |
if (s) |
20 |
CLog::Log(LOGINFO, "GL_RENDERER = %s", s); |
21 |
else |
22 |
CLog::Log(LOGINFO, "GL_RENDERER = NULL"); |
23 |
|
24 |
- s = glGetString(GL_VERSION); |
25 |
+ s = reinterpret_cast<const char*>(glGetString(GL_VERSION)); |
26 |
if (s) |
27 |
CLog::Log(LOGINFO, "GL_VERSION = %s", s); |
28 |
else |
29 |
CLog::Log(LOGINFO, "GL_VERSION = NULL"); |
30 |
|
31 |
- s = glGetString(GL_SHADING_LANGUAGE_VERSION); |
32 |
+ s = reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION)); |
33 |
if (s) |
34 |
CLog::Log(LOGINFO, "GL_SHADING_LANGUAGE_VERSION = %s", s); |
35 |
else |