mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 12:27:43 +00:00
Windows fixes
This commit is contained in:
@@ -304,7 +304,7 @@ TextView::TextView(ViewResources& res,
|
||||
m_fontAtlas(font),
|
||||
m_align(align)
|
||||
{
|
||||
if (VertexBufferPool<RenderGlyph>::bucketCapacity() < capacity)
|
||||
if (size_t(VertexBufferPool<RenderGlyph>::bucketCapacity()) < capacity)
|
||||
Log.report(logvisor::Fatal, "bucket overflow [%" PRISize "/%" PRISize "]",
|
||||
capacity, VertexBufferPool<RenderGlyph>::bucketCapacity());
|
||||
|
||||
@@ -324,7 +324,7 @@ TextView::TextView(ViewResources& res,
|
||||
auto vBufInfo = m_glyphBuf->getBufferInfo();
|
||||
auto uBufInfo = m_viewVertBlockBuf->getBufferInfo();
|
||||
boo::IGraphicsBuffer* uBufs[] = {uBufInfo.first};
|
||||
size_t uBufOffs[] = {uBufInfo.second};
|
||||
size_t uBufOffs[] = {size_t(uBufInfo.second)};
|
||||
size_t uBufSizes[] = {sizeof(ViewBlock)};
|
||||
boo::ITexture* texs[] = {m_fontAtlas.texture()};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user