Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Slavomir Kaslev committed Feb 16, 2017
1 parent 3191a74 commit 05fd635
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/glfw_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ static float randf()
return (float) rand() / ((float) RAND_MAX + 1);
}

static void display(GLFWwindow * window)
static void display(GLFWwindow *window)
{
glClearColor(randf(), randf(), randf(), 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glfwSwapBuffers(window);
}

static void reshape(GLFWwindow * window, int w, int h)
static void reshape(GLFWwindow *window, int w, int h)
{
width = w > 1 ? w : 1;
height = h > 1 ? h : 1;
Expand All @@ -58,7 +58,7 @@ static void reshape(GLFWwindow * window, int w, int h)

int main(int argc, char **argv)
{
GLFWwindow * window;
GLFWwindow *window;

glfwInit();

Expand Down

0 comments on commit 05fd635

Please sign in to comment.