# There's a bug in the createGraphics() part

**URL:** <https://discourse.processing.org/t/theres-a-bug-in-the-creategraphics-part/22019>\
**Category:** Libraries\
**Created:** [June 20, 2020, 6:45am UTC](https://discourse.processing.org/t/theres-a-bug-in-the-creategraphics-part/22019 "2020-06-20T06:45:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ARNAV\_A\_GUPTA](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/arnav_a_gupta/32/9660_2.png) [@ARNAV\_A\_GUPTA](https://discourse.processing.org/u/ARNAV_A_GUPTA)\
**Post date:** [June 20, 2020, 6:45am UTC](https://discourse.processing.org/t/theres-a-bug-in-the-creategraphics-part/22019/1 "2020-06-20T06:45:20Z")

</div>

I think I’ve found a bug in the buffer part. If you change the background of canvas, the buffer images don’t work…

---

<div class="post-metadata">

**Author:** ![slow\_izzm](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/slow_izzm/32/5637_2.png) [@slow\_izzm](https://discourse.processing.org/u/slow_izzm)\
**Post date:** [June 20, 2020, 3:57pm UTC](https://discourse.processing.org/t/theres-a-bug-in-the-creategraphics-part/22019/2 "2020-06-20T15:57:39Z")

</div>

Can you share some code? What steps would I take to reproduce this “bug”?

More than likely it is an error on your part, I have no issue updating `background()` while using `createGraphics()`.

---

<div class="post-metadata">

**Author:** ![ARNAV\_A\_GUPTA](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/arnav_a_gupta/32/9660_2.png) [@ARNAV\_A\_GUPTA](https://discourse.processing.org/u/ARNAV_A_GUPTA)\
**Post date:** [June 20, 2020, 7:18pm UTC](https://discourse.processing.org/t/theres-a-bug-in-the-creategraphics-part/22019/3 "2020-06-20T19:18:19Z")

</div>

there was something with my system I think, because after some restart,it worked fine…
