mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Exposed vertex stream argument to API.
This commit is contained in:
@@ -97,7 +97,7 @@ void renderScreenSpaceQuad(uint8_t _view, bgfx::ProgramHandle _program, float _x
|
||||
|
||||
bgfx::setState(BGFX_STATE_DEFAULT);
|
||||
bgfx::setIndexBuffer(&tib);
|
||||
bgfx::setVertexBuffer(&tvb);
|
||||
bgfx::setVertexBuffer(0, &tvb);
|
||||
bgfx::submit(_view, _program);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user