mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GL: Cleanup a check to use ARB instead.
This commit is contained in:
parent
f6980b9f9d
commit
252966bb17
2 changed files with 2 additions and 2 deletions
|
@ -174,7 +174,7 @@ inline void CopyFloat3(float dest[3], const float src[3]) {
|
|||
dest[2] = src[2];
|
||||
}
|
||||
|
||||
inline void CopyFloat4(float dest[3], const float src[3]) {
|
||||
inline void CopyFloat4(float dest[4], const float src[4]) {
|
||||
#ifdef _M_SSE
|
||||
_mm_storeu_ps(dest, _mm_loadu_ps(src));
|
||||
#else
|
||||
|
|
|
@ -128,7 +128,7 @@ static bool SupportsDepthTexturing() {
|
|||
if (gl_extensions.IsGLES) {
|
||||
return gl_extensions.OES_packed_depth_stencil && (gl_extensions.OES_depth_texture || gl_extensions.GLES3);
|
||||
}
|
||||
return gl_extensions.VersionGEThan(3, 0);
|
||||
return gl_extensions.ARB_texture_float;
|
||||
}
|
||||
|
||||
static Draw::Pipeline *CreateReadbackPipeline(Draw::DrawContext *draw, const char *tag, const UniformBufferDesc *ubDesc, const char *fs, const char *fsTag, const char *vs, const char *vsTag) {
|
||||
|
|
Loading…
Add table
Reference in a new issue