@geastack/engine 0.1.30 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geastack/engine",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "GeaStack rendering engine, intrinsic JSX primitives, and native engine backends.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1817,7 +1817,7 @@ void CanvasRenderingContext2D::setFont(const std::string &font)
1817
1817
  void CanvasRenderingContext2D::clear()
1818
1818
  {
1819
1819
  if (recordingPresentBatch()) {
1820
- appendPresentClear(0);
1820
+ appendPresentClear(gea::framework::graphics::pixel::nativeColor(0, 0, 0));
1821
1821
  return;
1822
1822
  }
1823
1823
  auto *surface = drawingCanvas();