diff --git a/src/lime/graphics/RenderContextAttributes.hx b/src/lime/graphics/RenderContextAttributes.hx index 1e507da80..059e0a489 100644 --- a/src/lime/graphics/RenderContextAttributes.hx +++ b/src/lime/graphics/RenderContextAttributes.hx @@ -32,6 +32,13 @@ typedef RenderContextAttributes = **/ @:optional var hardware:Bool; + #if html5 + /** + Whether to preserve the `HTMLCanvas`'s image data after rendering + **/ + @:optional var preserveDrawingBuffer:Bool; + #end + /** Whether a stencil buffer is enabled **/