mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Added ability to specify arbitrary source pitch when uploading textures.
Added reference weldVertices implementation.
This commit is contained in:
@@ -293,8 +293,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||
const uint32_t textureSide = 2048;
|
||||
|
||||
bgfx::TextureHandle textureCube =
|
||||
bgfx::createTextureCube(6
|
||||
, textureSide
|
||||
bgfx::createTextureCube(textureSide
|
||||
, 1
|
||||
, bgfx::TextureFormat::BGRA8
|
||||
, BGFX_TEXTURE_MIN_POINT|BGFX_TEXTURE_MAG_POINT|BGFX_TEXTURE_MIP_POINT
|
||||
|
||||
Reference in New Issue
Block a user