Skip to content

Commit

Permalink
CResourceManager: Allow pass-through geometry shaders.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Nov 28, 2015
1 parent d70bb4c commit e52288d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Layers/xrRenderPC_GL/glResourceManager_Resources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,10 @@ SGS* CResourceManager::_CreateGS (LPCSTR name)
SGS* _gs = xr_new<SGS> ();
_gs->dwFlags |= xr_resource_flagged::RF_REGISTERED;
m_gs.insert (mk_pair(_gs->set_name(name),_gs));
VERIFY(strcmpi(name, "null") != 0);
if (0==stricmp(name,"null")) {
_gs->gs = NULL;
return _gs;
}

// Open file
string_path cname;
Expand Down

0 comments on commit e52288d

Please sign in to comment.