From e105b5364816e2ac261ff0d9af53b95e860c8259 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Mon, 29 Jul 2019 10:21:14 +1000 Subject: [PATCH] test commit to ensure I didn't break auto build from github --- src/Graphics.h | 2 +- src/Protocol.c | 1 - src/Window.h | 10 +++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Graphics.h b/src/Graphics.h index 25c69038b..cd516bc69 100644 --- a/src/Graphics.h +++ b/src/Graphics.h @@ -151,7 +151,7 @@ void Gfx_SetFpsLimit(bool value, float minFrameMillis); /* NOTE: This may require recreating the context depending on the backend. */ void Gfx_OnWindowResize(void); /* Gets information about the user's GPU and current backend state. */ -/* Backend state may be depth buffer bits, current free memory, etc. */ +/* Backend state may include depth buffer bits, free memory, etc. */ /* NOTE: lines must be an array of at least GFX_APIINFO_LINES */ void Gfx_GetApiInfo(String* lines); diff --git a/src/Protocol.c b/src/Protocol.c index 7a883db05..3e2c0f871 100644 --- a/src/Protocol.c +++ b/src/Protocol.c @@ -1,6 +1,5 @@ #include "Protocol.h" #include "Deflate.h" -#include "Utils.h" #include "Server.h" #include "Stream.h" #include "Game.h" diff --git a/src/Window.h b/src/Window.h index 9b5335677..fe1beb5e5 100644 --- a/src/Window.h +++ b/src/Window.h @@ -140,7 +140,7 @@ void Window_DisableRawMouse(void); #ifdef CC_BUILD_GL /* Initialises an OpenGL context that most closely matches the input arguments. */ -/* NOTE: You must have created a window beforehand, as the GL context is attached to the window. */ +/* NOTE: You must have created the window beforehand, as the GL context is attached to the window. */ void GLContext_Init(struct GraphicsMode* mode); /* Updates the OpenGL context after the window is resized. */ void GLContext_Update(void); @@ -153,13 +153,13 @@ void GLContext_Free(void); #define GLCONTEXT_DEFAULT_DEPTH 24 #define GLContext_IsInvalidAddress(ptr) (ptr == (void*)0 || ptr == (void*)1 || ptr == (void*)-1 || ptr == (void*)2) /* Returns the address of a function pointer for the given OpenGL function. */ -/* NOTE: The platform may still return an address for unsupported functions. -You must check the OpenGL version and/or GL_EXTENSIONS string for actual support! */ +/* NOTE: The implementation may still return an address for unsupported functions. */ +/* You MUST check the OpenGL version and/or GL_EXTENSIONS string for actual support! */ void* GLContext_GetAddress(const char* function); /* Swaps the front and back buffer, displaying the back buffer on screen. */ bool GLContext_SwapBuffers(void); -/* Sets whether synchronisation with the monitor is used. */ -/* NOTE: The underlying platform may choose to still ignore this. */ +/* Sets whether synchronisation with the monitor is enabled. */ +/* NOTE: The implementation may choose to still ignore this. */ void GLContext_SetFpsLimit(bool vsync, float minFrameMs); #endif #endif