mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 13:36:12 +01:00
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:
1 parent
2d88625f4e
commit
e336d9fb77
2 files changed
+3
-3
No files matched your search
@@ -32,7 +32,7 @@
|
|||||||
#include <CSFML/Window/Types.h>
|
#include <CSFML/Window/Types.h>
|
||||||
#include <CSFML/Window/Window.h>
|
#include <CSFML/Window/Window.h>
|
||||||
|
|
||||||
typedef void (*GlFunctionPointer)(void);
|
typedef void (*sfGlFunctionPointer)(void);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Create a new context
|
/// \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
|
/// \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.
|
/// \brief Get the settings of the context.
|
||||||
|
|||||||
@@ -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);
|
return sf::Context::getFunction(name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user