Changeset - r25065:fd4abe5cd86f
[Not reviewed]
master
0 1 0
frosch - 3 years ago 2021-03-21 17:38:51
frosch@openttd.org
Fix f0f96e31: [OpenGL] warning: comparison of integer expressions of different signedness. (#8881)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/video/opengl.cpp
Show inline comments
 
@@ -887,7 +887,7 @@ template <class T>
 
static void ClearPixelBuffer(size_t len, T data)
 
{
 
	T *buf = reinterpret_cast<T *>(_glMapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_READ_WRITE));
 
	for (int i = 0; i < len; i++) {
 
	for (size_t i = 0; i < len; i++) {
 
		*buf++ = data;
 
	}
 
	_glUnmapBuffer(GL_PIXEL_UNPACK_BUFFER);
0 comments (0 inline, 0 general)