Commit 17294a6b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

opengl32: Use the ARRAY_SIZE() macro.

parent 52201acb
......@@ -891,7 +891,7 @@ PROC WINAPI wglGetProcAddress( LPCSTR name )
{ "glVertexAttribDivisor", "glVertexAttribDivisorARB"}, /* needed by Caffeine */
};
for (i = 0; i < sizeof(alternatives)/sizeof(alternatives[0]); i++)
for (i = 0; i < ARRAY_SIZE(alternatives); i++)
{
if (strcmp( name, alternatives[i].name )) continue;
WARN("Extension %s required for %s not supported, trying %s\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment