Skip to content

Commit

Permalink
license
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed May 8, 2024
1 parent b83df4c commit c105370
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ruis/render/opengl/frame_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ frame_buffer::frame_buffer(
std::shared_ptr<ruis::render::texture_2d> color,
std::shared_ptr<ruis::render::texture_depth> depth
) :
ruis::render::frame_buffer(std::move(color), std::move(depth))
ruis::render::frame_buffer( //
std::move(color),
std::move(depth),
nullptr
)
{
glGenFramebuffers(1, &this->fbo);
assert_opengl_no_error();
Expand Down
21 changes: 21 additions & 0 deletions src/ruis/render/opengl/texture_2d.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*
ruis-render-opengl - OpenGL GUI renderer
Copyright (C) 2012-2024 Ivan Gagis <igagis@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/* ================ LICENSE END ================ */

#include "texture_2d.hpp"

#include "util.hpp"
Expand Down
21 changes: 21 additions & 0 deletions src/ruis/render/opengl/texture_2d.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*
ruis-render-opengl - OpenGL GUI renderer
Copyright (C) 2012-2024 Ivan Gagis <igagis@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/* ================ LICENSE END ================ */

#pragma once

#include <ruis/render/render_factory.hpp>
Expand Down
21 changes: 21 additions & 0 deletions src/ruis/render/opengl/texture_depth.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*
ruis-render-opengl - OpenGL GUI renderer
Copyright (C) 2012-2024 Ivan Gagis <igagis@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/* ================ LICENSE END ================ */

#include "texture_depth.hpp"

#include "util.hpp"
Expand Down
21 changes: 21 additions & 0 deletions src/ruis/render/opengl/texture_depth.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*
ruis-render-opengl - OpenGL GUI renderer
Copyright (C) 2012-2024 Ivan Gagis <igagis@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/* ================ LICENSE END ================ */

#pragma once

#include <ruis/render/texture_depth.hpp>
Expand Down

0 comments on commit c105370

Please sign in to comment.