Skip to content

ImGui Font Issue #16

@pogrammerX

Description

@pogrammerX

Hello, im trying to compile and run this, except i get a error at this code in the bigg library:

	io.Fonts->AddFontDefault();
	io.Fonts->GetTexDataAsRGBA32( &data, &width, &height );
	imguiFontTexture = bgfx::createTexture2D( ( uint16_t )width, ( uint16_t )height, false, 1, bgfx::TextureFormat::BGRA8, 0, bgfx::copy( data, width*height * 4 ) );
	imguiFontUniform = bgfx::createUniform( "s_tex", bgfx::UniformType::Sampler );```
	
for some reason data is always "ÿÿÿÿÿÿÿÿÿÿÿ", wdith and height seem to be correct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions