Skip to content

Commit b02c612

Browse files
committed
Minor tweaks
1 parent 46774a8 commit b02c612

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ static GLFWwindow *window; // Native window (graphic device
330330
static EGL_DISPMANX_WINDOW_T window; // Native window (graphic device)
331331
#endif
332332
#if defined(PLATFORM_UWP)
333-
extern EGLNativeWindowType window; // Native window handler for UWP (external, defined in UWP App)
333+
extern EGLNativeWindowType uwpWindow; // Native window handler for UWP (external, defined in UWP App)
334334
#endif
335335
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI) || defined(PLATFORM_UWP)
336336
static EGLDisplay display; // Native display device (physical screen connection)
@@ -3078,7 +3078,7 @@ static bool InitGraphicsDevice(int width, int height)
30783078
//https://stackoverflow.com/questions/46550182/how-to-create-eglsurface-using-c-winrt-and-angle
30793079

30803080
//surface = eglCreateWindowSurface(display, config, reinterpret_cast<IInspectable*>(surfaceCreationProperties), surfaceAttributes);
3081-
surface = eglCreateWindowSurface(display, config, window, surfaceAttributes);
3081+
surface = eglCreateWindowSurface(display, config, uwpWindow, surfaceAttributes);
30823082
if (surface == EGL_NO_SURFACE)
30833083
{
30843084
TraceLog(LOG_WARNING, "Failed to create EGL fullscreen surface");

src/models.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3537,7 +3537,6 @@ static Model LoadGLTF(const char *fileName)
35373537

35383538
for (int i = 0; i < model.meshCount; i++) model.meshes[i].vboId = (unsigned int *)RL_CALLOC(MAX_MESH_VBO, sizeof(unsigned int));
35393539

3540-
//For each material
35413540
for (int i = 0; i < model.materialCount - 1; i++)
35423541
{
35433542
model.materials[i] = LoadMaterialDefault();

0 commit comments

Comments
 (0)