Route render platform hints through platform services
This commit is contained in:
@@ -262,6 +262,12 @@ public:
|
||||
bind_default_render_target();
|
||||
}
|
||||
|
||||
void apply_render_platform_hints() override
|
||||
{
|
||||
glEnable(static_cast<GLenum>(pp::renderer::gl::program_point_size_state()));
|
||||
glEnable(static_cast<GLenum>(pp::renderer::gl::line_smooth_state()));
|
||||
}
|
||||
|
||||
void begin_render_capture_frame() override
|
||||
{
|
||||
win32_renderdoc_frame_start();
|
||||
|
||||
Reference in New Issue
Block a user