mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Removed GLFW_NO_ERROR.
As glfwGetError was removed (due to a race between glfwInit error reporting and manual TLS setup on OS X), this token has no purpose.
This commit is contained in:
parent
2d5fb77c90
commit
8fe816d248
|
@ -446,9 +446,6 @@ extern "C" {
|
||||||
/*! @defgroup errors Error codes
|
/*! @defgroup errors Error codes
|
||||||
* @ingroup error
|
* @ingroup error
|
||||||
* @{ */
|
* @{ */
|
||||||
/*! @brief No error has occurred.
|
|
||||||
*/
|
|
||||||
#define GLFW_NO_ERROR 0
|
|
||||||
/*! @brief GLFW has not been initialized.
|
/*! @brief GLFW has not been initialized.
|
||||||
*/
|
*/
|
||||||
#define GLFW_NOT_INITIALIZED 0x00070001
|
#define GLFW_NOT_INITIALIZED 0x00070001
|
||||||
|
|
|
@ -56,8 +56,6 @@ static const char* getErrorString(int error)
|
||||||
{
|
{
|
||||||
switch (error)
|
switch (error)
|
||||||
{
|
{
|
||||||
case GLFW_NO_ERROR:
|
|
||||||
return "No error";
|
|
||||||
case GLFW_NOT_INITIALIZED:
|
case GLFW_NOT_INITIALIZED:
|
||||||
return "The GLFW library is not initialized";
|
return "The GLFW library is not initialized";
|
||||||
case GLFW_NO_CURRENT_CONTEXT:
|
case GLFW_NO_CURRENT_CONTEXT:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user