mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-06-17 15:26:39 -04:00
Implemented RmlUi hack to replace color parsing so it uses 0-1 alpha instead of 0-255
This commit is contained in:
@@ -758,6 +758,9 @@ void init_hook(RT64::RenderInterface* interface, RT64::RenderDevice* device) {
|
||||
|
||||
Rml::Initialise();
|
||||
|
||||
// Apply the hack to replace RmlUi's default color parser with one that conforms to HTML5 alpha parsing for SASS compatibility
|
||||
recomp::apply_color_hack();
|
||||
|
||||
int width, height;
|
||||
SDL_GetWindowSizeInPixels(window, &width, &height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user