Formatting consistency fixes

This commit is contained in:
Doug Binks 2021-03-23 18:45:29 +00:00
parent 7b6f25c360
commit b0d196c43c
2 changed files with 5 additions and 5 deletions

View File

@ -881,7 +881,7 @@ _GLFWusercontext* _glfwCreateUserContextEGL(_GLFWwindow* window)
else
{
eglChooseConfig(_glfw.egl.display, dummyConfigAttribs, &dummySurfaceConfig, 1, &dummySurfaceNumConfigs);
if( !dummySurfaceNumConfigs)
if (!dummySurfaceNumConfigs)
{
eglDestroyContext(_glfw.egl.display, context->egl.handle);
_glfwInputError(GLFW_PLATFORM_ERROR,

View File

@ -43,13 +43,13 @@ int main(void)
/* set the user context current */
glfwMakeUserContextCurrent(usercontext);
if (glfwGetCurrentContext()!=NULL)
if (glfwGetCurrentContext() != NULL)
{
fprintf(stderr, "Current glfw window context not NULL after glfwMakeUserContextCurrent\n");
glfwTerminate();
return -1;
}
if (glfwGetCurrentUserContext()!=usercontext)
if (glfwGetCurrentUserContext() != usercontext)
{
fprintf(stderr, "Current user context not correct after glfwMakeUserContextCurrent\n");
glfwTerminate();
@ -59,13 +59,13 @@ int main(void)
/* set the window context current */
glfwMakeContextCurrent(window);
if ( glfwGetCurrentUserContext() != NULL )
if (glfwGetCurrentUserContext() != NULL)
{
fprintf(stderr, "Current user context not NULL after glfwMakeContextCurrent\n");
glfwTerminate();
return -1;
}
if ( glfwGetCurrentContext() != window )
if (glfwGetCurrentContext() != window)
{
fprintf(stderr, "Current glfw window context not correct after glfwMakeContextCurrent\n");
glfwTerminate();