From 813c586edb9c3e83446f4cf6e801c8a62a3f9d17 Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Mon, 6 Mar 2023 12:11:19 +0100
Subject: [PATCH] Change local (void*) to SDL_FunctionPointer
---
src/video/SDL_video.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index 9a9950d8f05e..ad1f58d2bf4b 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -3393,7 +3393,7 @@ int SDL_GL_LoadLibrary(const char *path)
SDL_FunctionPointer SDL_GL_GetProcAddress(const char *proc)
{
- void *func;
+ SDL_FunctionPointer func;
if (_this == NULL) {
SDL_UninitializedVideo();
@@ -3415,7 +3415,7 @@ SDL_FunctionPointer SDL_GL_GetProcAddress(const char *proc)
SDL_FunctionPointer SDL_EGL_GetProcAddress(const char *proc)
{
#if SDL_VIDEO_OPENGL_EGL
- void *func;
+ SDL_FunctionPointer func;
if (!_this) {
SDL_UninitializedVideo();