From d7112cd6909640afd7609b3a142bc6ecf921ee25 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 30 Jan 2024 08:46:09 +0100 Subject: Kernel: Breaking changes, see source code. Signed-off-by: Amlal El Mahrouss --- Private/Source/Framebuffer.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Private/Source/Framebuffer.cxx') diff --git a/Private/Source/Framebuffer.cxx b/Private/Source/Framebuffer.cxx index 1a73e449..9164e913 100644 --- a/Private/Source/Framebuffer.cxx +++ b/Private/Source/Framebuffer.cxx @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== @@ -9,15 +9,15 @@ #include -namespace hCore { -Framebuffer::Framebuffer(hCore::Ref& addr) +namespace HCore { +Framebuffer::Framebuffer(HCore::Ref& addr) : m_FrameBufferAddr(addr), m_Colour(FramebufferColorKind::RGB32) {} Framebuffer::~Framebuffer() = default; volatile UIntPtr* Framebuffer::operator[](const UIntPtr& width_and_height) { if (m_FrameBufferAddr) - return reinterpret_cast( + return reinterpret_cast( m_FrameBufferAddr->m_Base + width_and_height); return nullptr; @@ -33,4 +33,4 @@ const FramebufferColorKind& Framebuffer::Color( return m_Colour; } -} // namespace hCore +} // namespace HCore -- cgit v1.2.3