Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
6665557f
There was an error fetching the commit references. Please try again later.
Commit
6665557f
authored
7 years ago
by
Yuri Kunde Schlesner
Browse files
Options
Downloads
Patches
Plain Diff
OpenGL: Remove unused RendererOpenGL fields
parent
ae095cfb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/video_core/renderer_opengl/renderer_opengl.cpp
+2
-8
2 additions, 8 deletions
src/video_core/renderer_opengl/renderer_opengl.cpp
src/video_core/renderer_opengl/renderer_opengl.h
+0
-3
0 additions, 3 deletions
src/video_core/renderer_opengl/renderer_opengl.h
with
2 additions
and
11 deletions
src/video_core/renderer_opengl/renderer_opengl.cpp
+
2
−
8
View file @
6665557f
...
@@ -94,14 +94,8 @@ static std::array<GLfloat, 3 * 2> MakeOrthographicMatrix(const float width, cons
...
@@ -94,14 +94,8 @@ static std::array<GLfloat, 3 * 2> MakeOrthographicMatrix(const float width, cons
return
matrix
;
return
matrix
;
}
}
/// RendererOpenGL constructor
RendererOpenGL
::
RendererOpenGL
()
=
default
;
RendererOpenGL
::
RendererOpenGL
()
{
RendererOpenGL
::~
RendererOpenGL
()
=
default
;
resolution_width
=
std
::
max
(
VideoCore
::
kScreenTopWidth
,
VideoCore
::
kScreenBottomWidth
);
resolution_height
=
VideoCore
::
kScreenTopHeight
+
VideoCore
::
kScreenBottomHeight
;
}
/// RendererOpenGL destructor
RendererOpenGL
::~
RendererOpenGL
()
{}
/// Swap buffers (render frame)
/// Swap buffers (render frame)
void
RendererOpenGL
::
SwapBuffers
()
{
void
RendererOpenGL
::
SwapBuffers
()
{
...
...
This diff is collapsed.
Click to expand it.
src/video_core/renderer_opengl/renderer_opengl.h
+
0
−
3
View file @
6665557f
...
@@ -68,9 +68,6 @@ private:
...
@@ -68,9 +68,6 @@ private:
EmuWindow
*
render_window
;
///< Handle to render window
EmuWindow
*
render_window
;
///< Handle to render window
int
resolution_width
;
///< Current resolution width
int
resolution_height
;
///< Current resolution height
OpenGLState
state
;
OpenGLState
state
;
// OpenGL object IDs
// OpenGL object IDs
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment