Add missing sf prefix

This function pointer is within the `sf::` namespace of SFML so it
ought to have an `sf` prefix in CSFML.
This commit is contained in:
Chris Thrasher committed 2024-09-05 14:21:42 -06:00
1 parent 2d88625f4e
commit e336d9fb77
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -32,7 +32,7 @@
#include <CSFML/Window/Types.h>
#include <CSFML/Window/Window.h>
typedef void (*GlFunctionPointer)(void);
typedef void (*sfGlFunctionPointer)(void);
////////////////////////////////////////////////////////////
/// \brief Create a new context
@@ -81,7 +81,7 @@ CSFML_WINDOW_API bool sfContext_setActive(sfContext* context, bool active);
/// \return Address of the OpenGL function, 0 on failure
///
////////////////////////////////////////////////////////////
CSFML_WINDOW_API GlFunctionPointer sfContext_getFunction(const char* name);
CSFML_WINDOW_API sfGlFunctionPointer sfContext_getFunction(const char* name);
////////////////////////////////////////////////////////////
/// \brief Get the settings of the context.
+1 -1
View File
@@ -60,7 +60,7 @@ bool sfContext_setActive(sfContext* context, bool active)
////////////////////////////////////////////////////////////
GlFunctionPointer sfContext_getFunction(const char* name)
sfGlFunctionPointer sfContext_getFunction(const char* name)
{
return sf::Context::getFunction(name);
}