mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-12 03:55:33 +00:00
Renamed BGFX_TEXTURE_RT_BUFFER_ONLY to more descriptive BGFX_TEXTURE_RT_WRITE_ONLY.
This commit is contained in:
@@ -148,7 +148,7 @@ int _main_(int _argc, char** _argv)
|
||||
bgfx::TextureHandle fbtextures[] =
|
||||
{
|
||||
shadowMapTexture,
|
||||
bgfx::createTexture2D(shadowMapSize, shadowMapSize, 1, bgfx::TextureFormat::D16, BGFX_TEXTURE_RT_BUFFER_ONLY),
|
||||
bgfx::createTexture2D(shadowMapSize, shadowMapSize, 1, bgfx::TextureFormat::D16, BGFX_TEXTURE_RT_WRITE_ONLY),
|
||||
};
|
||||
shadowMapFB = bgfx::createFrameBuffer(BX_COUNTOF(fbtextures), fbtextures, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user