mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
VideoOGL: reinitialize some more global variables,
so VideoOGL always is in the same state when starting a guest program. Also constify the RasterFont, while we are at it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7166 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
be193088ca
commit
7a7a71d3fa
4 changed files with 18 additions and 2 deletions
|
@ -104,6 +104,8 @@ inline GLuint VarToGL(VarType t)
|
|||
|
||||
void GLVertexFormat::Initialize(const PortableVertexDeclaration &_vtx_decl)
|
||||
{
|
||||
s_prevcomponents = 0;
|
||||
|
||||
vertex_stride = _vtx_decl.stride;
|
||||
using namespace Gen;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue