Branimir Karadzic 11 лет назад
Родитель
Сommit
36e02361d1
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      examples/common/nanovg/nanovg_bgfx.cpp

+ 7 - 7
examples/common/nanovg/nanovg_bgfx.cpp

@@ -30,7 +30,7 @@
 
 #include <bgfx.h>
 
-#include <bx\bx.h>
+#include <bx/bx.h>
 
 namespace
 {
@@ -184,7 +184,7 @@ namespace
 			}
 			tex = &gl->textures[gl->ntextures++];
 		}
-		
+
 		memset(tex, 0, sizeof(*tex));
 
 		return tex;
@@ -496,7 +496,7 @@ namespace
 		bgfx::setUniform(gl->u_params,          &frag->feather);
 
 		bgfx::TextureHandle handle = BGFX_INVALID_HANDLE;
- 
+
 		if (image != 0)
 		{
 			struct GLNVGtexture* tex = glnvg__findTexture(gl, image);
@@ -689,14 +689,14 @@ namespace
 		if (gl->ncalls > 0)
 		{
 			bgfx::allocTransientVertexBuffer(&gl->tvb, gl->nverts, s_nvgDecl);
-			
+
 			int allocated = gl->tvb.size/gl->tvb.stride;
-			
+
 			if (allocated < gl->nverts) {
 				gl->nverts = allocated;
 				BX_WARN(true, "Vertex number truncated due to transient vertex buffer overflow");
 			}
-			
+
 
 			memcpy(gl->tvb.data, gl->verts, gl->nverts * sizeof(struct NVGvertex) );
 
@@ -996,7 +996,7 @@ namespace
 		for (uint32_t ii = 0, num = gl->ntextures; ii < num; ++ii)
 		{
 			if (bgfx::isValid(gl->textures[ii].id)
-			&& (gl->textures[ii].flags & NVG_IMAGE_NODELETE) == 0) 
+			&& (gl->textures[ii].flags & NVG_IMAGE_NODELETE) == 0)
 			{
 				bgfx::destroyTexture(gl->textures[ii].id);
 			}