mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
more gl plugin cleanup, code moving
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@900 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -31,9 +31,6 @@
|
||||
|
||||
using namespace D3D;
|
||||
|
||||
//TODO(ector): remove and calculate inline?
|
||||
float shiftLookup[32];
|
||||
|
||||
IndexGenerator indexGen;
|
||||
Collection CVertexHandler::collection;
|
||||
|
||||
@ -65,10 +62,6 @@ const D3DVERTEXELEMENT9 decl[] =
|
||||
void CVertexHandler::Init()
|
||||
{
|
||||
collection = C_NOTHING;
|
||||
|
||||
for (int i = 0; i < 31; i++)
|
||||
shiftLookup[i] = 1.0f / float(1 << i);
|
||||
|
||||
fakeVBuffer = new D3DVertex[65536];
|
||||
fakeIBuffer = new u16[65536];
|
||||
CreateDeviceObjects();
|
||||
|
Reference in New Issue
Block a user