Skip to content

Commit

Permalink
Release 6.2.1
Browse files Browse the repository at this point in the history
* GLES3.ModelInstancing and Vulkan.ModelInstancing: Added arguments to control the instance count.
* Improved EGLConfig selection and improved logging.
* Ensured that OpenGL ES samples clear the alpha channel correctly.
  • Loading branch information
ReneThrane committed Aug 9, 2023
1 parent 0371636 commit f2b9a34
Show file tree
Hide file tree
Showing 61 changed files with 767 additions and 83 deletions.
2 changes: 1 addition & 1 deletion DemoApps/GLES2/Bloom/source/Bloom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ namespace Fsl
}
else
{
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}

Expand Down
4 changes: 2 additions & 2 deletions DemoApps/GLES2/Bloom/source/RenderScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ namespace Fsl
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);

// glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0, 0, 0, 0);
// glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
{
glUseProgram(m_program.Get());
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES2/Bloom/source/WhiteRectScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ namespace Fsl

void WhiteRectScene::Draw()
{
glClearColor(0, 0, 0, 0);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);


Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES2/DeBayer/source/DeBayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ namespace Fsl
pthread_mutex_lock(&gstThreadMutex);
pthread_cond_wait(&gstCON, &gstThreadMutex);
{
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);

void* logical = (void*)vYaddr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ namespace Fsl
pthread_mutex_lock(&gstThreadMutex);
pthread_cond_wait(&gstCON, &gstThreadMutex);
{
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);

void* logical = (void*)vYaddr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ namespace Fsl
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
{
glUseProgram(m_resources.Program.Get());
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES2/ModelViewer/source/ModelViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ namespace Fsl
glDisable(GL_CULL_FACE);
}

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
{
glUseProgram(m_resources.Program.Get());
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES2/OpenCV101/source/OpenCV101.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ namespace Fsl
{
FSL_PARAM_NOT_USED(frameInfo);

glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace Fsl
{
FSL_PARAM_NOT_USED(frameInfo);

glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

m_shared.Draw();
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES2/System/InputEvents/source/InputEvents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace Fsl
{
FSL_PARAM_NOT_USED(frameInfo);

glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

m_logger.Draw(GetWindowSizePx());
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES2/UI/SimpleUI100/source/SimpleUI100.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ namespace Fsl
{
FSL_PARAM_NOT_USED(frameInfo);

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

// Calling this last allows the UI to draw on top of everything.
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/Bloom/source/Bloom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ namespace Fsl
}
else
{
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}

Expand Down
4 changes: 2 additions & 2 deletions DemoApps/GLES3/Bloom/source/RenderScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ namespace Fsl
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);

// glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0, 0, 0, 0);
// glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
{
glUseProgram(m_program.Get());
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/Bloom/source/WhiteRectScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ namespace Fsl

void WhiteRectScene::Draw()
{
glClearColor(0, 0, 0, 0);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);


Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/D1_1_VBOs/source/D1_1_VBOs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace Fsl
GL_CHECK(glUseProgram(hProgram));

GL_CHECK(glEnable(GL_DEPTH_TEST));
glClearColor(1.0f, 1.0f, 1.0f, 0.0f);
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);

{ // Initialization
// 3 vertices, with (x,y,z), (r, g, b, a) per-vertex
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/D1_2_VAOs/source/D1_2_VAOs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Fsl
GL_CHECK(glUseProgram(hProgram));

GL_CHECK(glEnable(GL_DEPTH_TEST));
glClearColor(1.0f, 1.0f, 1.0f, 0.0f);
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);

{ // Initialization
// 3 vertices, with (x,y,z), (r, g, b, a) per-vertex
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ namespace Fsl
pthread_mutex_lock(&gstThreadMutex);
pthread_cond_wait(&gstCON, &gstThreadMutex);
{
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);

void* logical = (void*)vYaddr;
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/E1_1_VBOs/source/E1_1_VBOs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Fsl
GL_CHECK(glUseProgram(hProgram));

GL_CHECK(glEnable(GL_DEPTH_TEST));
glClearColor(1.0f, 1.0f, 1.0f, 0.0f);
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);


// vboIds[0] - used to store vertex attribute data
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/E1_2_VAOs/source/E1_2_VAOs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace Fsl
GL_CHECK(glUseProgram(hProgram));

GL_CHECK(glEnable(GL_DEPTH_TEST));
GL_CHECK(glClearColor(1.0f, 1.0f, 1.0f, 0.0f));
GL_CHECK(glClearColor(1.0f, 1.0f, 1.0f, 1.0f));

// vboIds[0] - used to store vertex attribute data
// vboIds[l] - used to store element indices
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/E2_1_CopyBuffer/source/E2_1_CopyBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Fsl
GL_CHECK(glUseProgram(hProgram));

GL_CHECK(glEnable(GL_DEPTH_TEST));
glClearColor(1.0f, 1.0f, 1.0f, 0.0f);
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ namespace Fsl
GL_CHECK(glUseProgram(hProgram));

GL_CHECK(glEnable(GL_DEPTH_TEST));
GL_CHECK(glClearColor(1.0f, 1.0f, 1.0f, 0.0f));
GL_CHECK(glClearColor(1.0f, 1.0f, 1.0f, 1.0f));

std::vector<GLfloat> positions;
std::vector<GLuint> indices;
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/E4_0_PRestart/source/E4_0_PRestart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ namespace Fsl
GL_CHECK(glBindVertexArray(0));

GL_CHECK(glEnable(GL_DEPTH_TEST));
GL_CHECK(glClearColor(1.0f, 1.0f, 1.0f, 0.0f));
GL_CHECK(glClearColor(1.0f, 1.0f, 1.0f, 1.0f));
}
catch (const std::exception&)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace Fsl
InitFBO();

GL_CHECK(glEnable(GL_DEPTH_TEST));
GL_CHECK(glClearColor(1.0f, 1.0f, 1.0f, 0.0f));
GL_CHECK(glClearColor(1.0f, 1.0f, 1.0f, 1.0f));
}
catch (const std::exception&)
{
Expand Down
Binary file modified DemoApps/GLES3/ModelInstancing/Example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions DemoApps/GLES3/ModelInstancing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Command line arguments':

Argument |Description |Source
--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------
-x, --MaxInstancesX \<arg> |Select the maximum number of instances to render. WARNING a too large number can crash the app on some drivers |Demo
-y, --MaxInstancesY \<arg> |Select the maximum number of instances to render. WARNING a too large number can crash the app on some drivers |Demo
-z, --MaxInstancesZ \<arg> |Select the maximum number of instances to render. WARNING a too large number can crash the app on some drivers |Demo
--ActualDpi \<arg> |ActualDpi [x,y] Override the actual dpi reported by the native window |DemoHost
--DensityDpi \<arg> |DensityDpi \<number> Override the density dpi reported by the native window |DemoHost
--DisplayId \<arg> |DisplayId \<number> |DemoHost
Expand Down
4 changes: 2 additions & 2 deletions DemoApps/GLES3/ModelInstancing/source/ModelInstancing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ namespace Fsl
indexCount += mesh->GetIndexCount();
}
FSLLOG3_INFO("Total vertex count: {}, Total index count: {}", vertexCount, indexCount);
m_resources.InstanceBuffer.Reset(GL_ARRAY_BUFFER, MeshInstancingConfig::ModelMaxInstances, sizeof(MeshInstanceData), GL_DYNAMIC_DRAW);
m_resources.InstanceBuffer.Reset(GL_ARRAY_BUFFER, m_shared.GetInstanceSetup().MaxInstances, sizeof(MeshInstanceData), GL_DYNAMIC_DRAW);
}


Expand Down Expand Up @@ -190,7 +190,7 @@ namespace Fsl
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
{
glUseProgram(m_resources.Program.Get());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
****************************************************************************************************************************************************/

#include <FslDemoApp/OpenGLES3/Setup/RegisterDemoApp.hpp>
#include <Shared/ModelInstancing/OptionParser.hpp>
#include <EGL/egl.h>
#include <array>
#include "ModelInstancing.hpp"
Expand All @@ -47,6 +48,6 @@ namespace Fsl
{
DemoAppHostConfigEGL config(g_eglConfigAttribs.data());

DemoAppRegister::GLES3::Register<ModelInstancing>(rSetup, "GLES3.ModelInstancing", config);
DemoAppRegister::GLES3::Register<ModelInstancing, OptionParser>(rSetup, "GLES3.ModelInstancing", config);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ namespace Fsl
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
{
glUseProgram(m_resources.Program.Get());
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/ModelViewer/source/ModelViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ namespace Fsl
glDisable(GL_CULL_FACE);
}

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
{
glUseProgram(m_resources.Program.Get());
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/ObjectSelection/source/ObjectSelection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ namespace Fsl
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);


Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/OpenCV101/source/OpenCV101.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ namespace Fsl
{
FSL_PARAM_NOT_USED(frameInfo);

glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
}
2 changes: 1 addition & 1 deletion DemoApps/GLES3/OpenVX101/source/OpenVX101.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ namespace Fsl

auto resPx = GetWindowSizePx();

glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

const PxSize1D halfWidth = resPx.Width() / PxSize1D::Create(2);
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/ParticleSystem/source/ParticleSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace Fsl

if (!m_scene)
{
glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ namespace Fsl
glEnable(GL_CULL_FACE);
// glDisable(GL_CULL_FACE);

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ namespace Fsl
glEnable(GL_CULL_FACE);
// glDisable(GL_CULL_FACE);

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ namespace Fsl
}
else
{
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}

Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/SpringBackground/source/GridScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ namespace Fsl

void GridScene::Draw()
{
glClearColor(0, 0, 0, 0);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

assert(m_activeRenderQueueIndex >= 0 && m_activeRenderQueueIndex <= static_cast<int32_t>(m_renderDeque.size()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace Fsl
{
FSL_PARAM_NOT_USED(frameInfo);

glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

m_shared.Draw();
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/Tessellation101/source/Tessellation101.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ namespace Fsl
glDisable(GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);

// Do the actual tessellated draw
Expand Down
4 changes: 2 additions & 2 deletions DemoApps/GLES3/TessellationSample/source/AScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ namespace Fsl
glDisable(GL_CULL_FACE);
}

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

// Do the actual tessellated draw
Expand Down Expand Up @@ -254,7 +254,7 @@ namespace Fsl
glEnable(GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);

glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
{
glUseProgram(m_basicShader.Program.Get());
Expand Down
2 changes: 1 addition & 1 deletion DemoApps/GLES3/UI/SimpleUI100/source/SimpleUI100.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ namespace Fsl
void SimpleUI100::Draw(const FrameInfo& frameInfo)
{
FSL_PARAM_NOT_USED(frameInfo);
glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

// Calling this last allows the UI to draw on top of everything.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ namespace Fsl
{
FSL_PARAM_NOT_USED(frameInfo);

glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

m_batch->Begin();
Expand Down
Loading

0 comments on commit f2b9a34

Please sign in to comment.