Browse Source

Fix an uninitialized variable causing (harmless) OpenGL errors. Resolves issue #1434.

Alex Szpakowski 7 years ago
parent
commit
79679f6272
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/opengl/FenceSync.h

+ 1 - 1
src/modules/graphics/opengl/FenceSync.h

@@ -38,7 +38,7 @@ class FenceSync
 {
 public:
 
-	FenceSync() {}
+	FenceSync() : sync(0) {}
 	~FenceSync();
 
 	bool fence();