Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
vitaquake3
Commits
7678dd00
Commit
7678dd00
authored
Feb 09, 2019
by
Rinnegatamante
Browse files
Enabled MSAA 4x.
parent
075b4f9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
code/psp2/psp2_glimp.c
View file @
7678dd00
...
...
@@ -79,6 +79,7 @@ of OpenGL
uint16_t
*
indices
;
float
*
gVertexBuffer
;
uint8_t
*
gColorBuffer
;
uint8_t
*
gColorBuffer255
;
float
*
gTexCoordBuffer
;
float
*
gVertexBufferPtr
;
uint8_t
*
gColorBufferPtr
;
...
...
@@ -117,7 +118,7 @@ void GLimp_Init( qboolean coreContext)
glConfig
.
isFullscreen
=
qtrue
;
if
(
!
inited
){
vglInitExtended
(
0x100000
,
glConfig
.
vidWidth
,
glConfig
.
vidHeight
,
0x1000000
);
vglInitExtended
(
0x100000
,
glConfig
.
vidWidth
,
glConfig
.
vidHeight
,
0x1000000
,
SCE_GXM_MULTISAMPLE_4X
);
vglUseVram
(
GL_TRUE
);
vglMapHeapMem
();
inited
=
1
;
...
...
@@ -136,6 +137,8 @@ void GLimp_Init( qboolean coreContext)
gVertexBufferPtr
=
(
float
*
)
malloc
(
0x400000
);
gColorBufferPtr
=
(
uint8_t
*
)
malloc
(
0x200000
);
gTexCoordBufferPtr
=
(
float
*
)
malloc
(
0x200000
);
gColorBuffer255
=
(
uint8_t
*
)
malloc
(
0x3000
);
memset
(
gColorBuffer255
,
0xFF
,
0x3000
);
gVertexBuffer
=
gVertexBufferPtr
;
gColorBuffer
=
gColorBufferPtr
;
gTexCoordBuffer
=
gTexCoordBufferPtr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment