Move Windows WGL context attributes to renderer gl
This commit is contained in:
@@ -38,6 +38,11 @@ struct OpenGlReadbackFormat {
|
||||
std::uint32_t bytes_per_pixel = 0;
|
||||
};
|
||||
|
||||
struct OpenGlWindowsWglContextConfig {
|
||||
std::array<std::int32_t, 9> context_attributes {};
|
||||
std::array<std::int32_t, 15> pixel_format_attributes {};
|
||||
};
|
||||
|
||||
[[nodiscard]] OpenGlCapabilities detect_opengl_capabilities(
|
||||
std::span<const std::string_view> extensions,
|
||||
OpenGlRuntime runtime) noexcept;
|
||||
@@ -141,5 +146,6 @@ struct OpenGlReadbackFormat {
|
||||
std::uint32_t filter_min,
|
||||
std::uint32_t filter_mag) noexcept;
|
||||
[[nodiscard]] std::uint32_t sampler_border_color_parameter_name() noexcept;
|
||||
[[nodiscard]] OpenGlWindowsWglContextConfig windows_wgl_core_context_3_3_config() noexcept;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user