Skip to content

Commit

Permalink
Updated submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Taulien committed Nov 26, 2016
1 parent ba1d87b commit 9a5a8b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/glm
2 changes: 1 addition & 1 deletion src/content/Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Handle::TextureHandle TextureAllocator::loadTextureRGBA8(const std::vector<uint8
//TODO: Avoid the second copy here
const bgfx::Memory* mem = bgfx::alloc(data.size());
memcpy(mem->data, data.data(), data.size());
bgfx::TextureHandle bth = bgfx::createTexture2D(width, height, 1, bgfx::TextureFormat::RGBA8, BGFX_TEXTURE_NONE, mem);
bgfx::TextureHandle bth = bgfx::createTexture2D(width, height, true, 1, bgfx::TextureFormat::RGBA8, BGFX_TEXTURE_NONE, mem);

// Free imange
//stbi_image_free(out);
Expand Down

0 comments on commit 9a5a8b4

Please sign in to comment.