mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 07:05:45 -04:00
HostDisplay: Make textures have levels/layers/samples attributes
This commit is contained in:
@ -170,8 +170,8 @@ bool SDLHostInterface::CreateDisplay()
|
||||
return false;
|
||||
}
|
||||
|
||||
m_app_icon_texture =
|
||||
display->CreateTexture(APP_ICON_WIDTH, APP_ICON_HEIGHT, APP_ICON_DATA, APP_ICON_WIDTH * sizeof(u32));
|
||||
m_app_icon_texture = display->CreateTexture(APP_ICON_WIDTH, APP_ICON_HEIGHT, 1, 1, 1, HostDisplayPixelFormat::RGBA8,
|
||||
APP_ICON_DATA, APP_ICON_WIDTH * sizeof(u32));
|
||||
if (!m_app_icon_texture)
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user