Commit d2fdc2d1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

opengl32: Remove superfluous pointer casts.

parent b5dbbd4f
......@@ -102,7 +102,7 @@ typedef struct wine_glcontext {
void enter_gl(void)
{
Wine_GLContext *curctx = (Wine_GLContext *) NtCurrentTeb()->glContext;
Wine_GLContext *curctx = NtCurrentTeb()->glContext;
if (curctx && curctx->do_escape)
{
......@@ -230,8 +230,8 @@ PROC WINAPI wglGetProcAddress(LPCSTR lpszProc) {
/* After that, search in the thunks to find the real name of the extension */
ext.name = lpszProc;
ext_ret = (const OpenGL_extension *) bsearch(&ext, extension_registry,
extension_registry_size, sizeof(OpenGL_extension), compar);
ext_ret = bsearch(&ext, extension_registry, extension_registry_size,
sizeof(OpenGL_extension), compar);
/* If nothing was found, we are looking for a WGL extension or an unknown GL extension. */
if (ext_ret == NULL) {
......
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