File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -412,15 +412,15 @@ class Window {
412412 static void SetConfigFlags (unsigned int flags) { ::SetConfigFlags (flags); }
413413
414414 /* *
415- * Used to handle the BeginDrawing() and EndDrawing() calls .
415+ * Alternates between calling ` BeginDrawing()` and ` EndDrawing()` .
416416 *
417417 * @code
418418 * while (window.Drawing()) {
419419 * DrawRectangle();
420420 * }
421421 * @endcode
422422 *
423- * @return True of false depending if we're within the BeginDrawing() / EndDrawing() scope.
423+ * @return True if we're within the ` BeginDrawing()` scope.
424424 */
425425 bool Drawing () {
426426 if (m_drawing) {
@@ -436,6 +436,11 @@ class Window {
436436 }
437437
438438 protected:
439+ /* *
440+ * Handles the internal drawing state for calling either `BeginDrawing()` or `EndDrawing()` from the `Drawing()` function.
441+ *
442+ * @see Drawing()
443+ */
439444 bool m_drawing = false ;
440445};
441446} // namespace raylib
You can’t perform that action at this time.
0 commit comments