-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate patch for ed/idl/webgl1.idl (#1113)
The IDL of WebGL1 was slightly updated yesterday, breaking the patch. The patch is still needed though.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
From 9621c8a3b41466151488910ec99d8be0deb1649e Mon Sep 17 00:00:00 2001 | ||
From 2a84dc0eaa8066baf9b6cbe9bd9f21957cfb86a6 Mon Sep 17 00:00:00 2001 | ||
From: Francois Daoust <[email protected]> | ||
Date: Tue, 10 May 2022 10:36:24 +0200 | ||
Date: Thu, 21 Dec 2023 10:00:26 +0100 | ||
Subject: [PATCH] Drop default attribute values | ||
|
||
Default attribute values are not allowed in Web IDL, see bug report at: | ||
|
@@ -10,13 +10,13 @@ https://github.com/KhronosGroup/WebGL/issues/3407 | |
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/ed/idl/webgl1.idl b/ed/idl/webgl1.idl | ||
index 979218d76..351218440 100644 | ||
index e42de87ef..4552610c0 100644 | ||
--- a/ed/idl/webgl1.idl | ||
+++ b/ed/idl/webgl1.idl | ||
@@ -516,8 +516,8 @@ interface mixin WebGLRenderingContextBase | ||
readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas; | ||
@@ -518,8 +518,8 @@ interface mixin WebGLRenderingContextBase | ||
readonly attribute GLsizei drawingBufferWidth; | ||
readonly attribute GLsizei drawingBufferHeight; | ||
readonly attribute GLenum drawingBufferFormat; | ||
- attribute PredefinedColorSpace drawingBufferColorSpace = "srgb"; | ||
- attribute PredefinedColorSpace unpackColorSpace = "srgb"; | ||
+ attribute PredefinedColorSpace drawingBufferColorSpace; | ||
|
@@ -25,5 +25,5 @@ index 979218d76..351218440 100644 | |
[WebGLHandlesContextLoss] WebGLContextAttributes? getContextAttributes(); | ||
[WebGLHandlesContextLoss] boolean isContextLost(); | ||
-- | ||
2.36.0.windows.1 | ||
2.42.0.windows.2 | ||
|