summaryrefslogtreecommitdiff
path: root/src/graphics.cc
blob: 68fee14145b5b27e4e97c47f8601788d41cee7a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "graphics.h"

#include <cstring>

#include "utils.h"

enum graphics_error_e wayc_graphics_init(struct graphics_s* graphics) {
  wayc_notnull(graphics);
  memset(graphics, 0, sizeof(*graphics));

  return GRAPHICS_ERROR_NONE;
}

void wayc_graphics_deinit(struct graphics_s* graphics) {
  wayc_notnull(graphics);
}