summaryrefslogtreecommitdiff
path: root/libraries/daguerre/source/framebuffer.cpp
blob: d4282ad3052fc20d687f0d97dbbe5f73acb155c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <daguerre/framebuffer.hpp>

namespace daguerre {

  image<hilbert_color> get_hilbert_framebuffer() {
    hilbert_color *ptr;
    uint32_t width, height, pitch;
    euler::syscall::get_framebuffer(ptr, width, height, pitch);
    return image<hilbert_color>(width, height, ptr, pitch, false);
  }

}