format
This commit is contained in:
parent
b7e2c85f47
commit
2656f8a181
2
.clang-format
Normal file → Executable file
2
.clang-format
Normal file → Executable file
@ -10,6 +10,7 @@ AllowShortFunctionsOnASingleLine: None
|
||||
AllowShortIfStatementsOnASingleLine: 'false'
|
||||
AllowShortLoopsOnASingleLine: 'false'
|
||||
BreakBeforeBraces: Allman
|
||||
ColumnLimit: 0
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
|
||||
Cpp11BracedListStyle: 'false'
|
||||
IndentCaseLabels: 'false'
|
||||
@ -31,4 +32,5 @@ Standard: Auto
|
||||
TabWidth: '4'
|
||||
UseTab: Never
|
||||
|
||||
|
||||
...
|
||||
|
@ -193,7 +193,8 @@ int xoverlay_glx_create_window()
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
if (!glXIsDirect(xoverlay_library.display, glx_state.context));
|
||||
if (!glXIsDirect(xoverlay_library.display, glx_state.context))
|
||||
;
|
||||
glXMakeCurrent(xoverlay_library.display, xoverlay_library.window,
|
||||
glx_state.context);
|
||||
glewExperimental = GL_TRUE;
|
||||
@ -207,7 +208,8 @@ int xoverlay_glx_create_window()
|
||||
(PFNGLXSWAPINTERVALEXTPROC) glXGetProcAddressARB(
|
||||
(const GLubyte *) "glXSwapIntervalEXT");
|
||||
if (glXSwapIntervalEXT)
|
||||
glXSwapIntervalEXT(xoverlay_library.display, xoverlay_library.window, 0);
|
||||
glXSwapIntervalEXT(xoverlay_library.display, xoverlay_library.window,
|
||||
0);
|
||||
glXSwapBuffers(xoverlay_library.display, xoverlay_library.window);
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user