mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +00:00
LibWeb: Use "unrestricted float/double" where we should in IDL
This commit is contained in:
parent
504d221e4a
commit
8fd83b56d5
2 changed files with 4 additions and 6 deletions
|
@ -55,9 +55,8 @@ interface CanvasRenderingContext2D {
|
|||
CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1);
|
||||
CanvasGradient createConicGradient(double startAngle, double x, double y);
|
||||
|
||||
// FIXME: All these `double`s should be `unrestricted double`
|
||||
undefined transform(double a, double b, double c, double d, double e, double f);
|
||||
undefined setTransform(double a, double b, double c, double d, double e, double f);
|
||||
undefined transform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f);
|
||||
undefined setTransform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f);
|
||||
undefined resetTransform();
|
||||
|
||||
// undefined clip(optional CanvasFillRule fillRule = "nonzero");
|
||||
|
|
|
@ -4,9 +4,8 @@ typedef unsigned long GLbitfield;
|
|||
typedef long GLint;
|
||||
typedef long GLsizei;
|
||||
|
||||
// FIXME: These should be "unrestricted float"
|
||||
typedef float GLfloat;
|
||||
typedef float GLclampf;
|
||||
typedef unrestricted float GLfloat;
|
||||
typedef unrestricted float GLclampf;
|
||||
|
||||
enum WebGLPowerPreference {
|
||||
"default",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue