added make clean between Release and Debug build (#14262)

Co-authored-by: papa <papa>
This commit is contained in:
kikmon 2022-07-31 18:22:04 +09:00 committed by GitHub
parent 4b7be8de3f
commit afd463be16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -27,3 +27,7 @@ jobs:
run: ./configure
- name: Build
run: make C89_BUILD=1
- name: Build Debug
run: |
make clean # making sure we don't have leftovers from previous build
make DEBUG=1 GL_DEBUG=1 C89_BUILD=1

View File

@ -3332,9 +3332,10 @@ static bool gl2_resolve_extensions(gl2_t *gl, const char *context_ident, const v
if (gl->core_context_in_use)
{
#ifdef GL_NUM_EXTENSIONS
GLint i;
GLint exts = 0;
glGetIntegerv(GL_NUM_EXTENSIONS, &exts);
for (GLint i = 0; i < exts; i++)
for (i = 0; i < exts; i++)
{
const char *ext = (const char*)glGetStringi(GL_EXTENSIONS, i);
if (ext)