Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
1d855fed
Commit
1d855fed
authored
Sep 09, 2013
by
Jamie Madill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an incorrect type entry for RGB565 in the ES3 formats table.
TRAC #23823 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
parent
18a44701
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
formatutils.cpp
src/libGLESv2/formatutils.cpp
+1
-1
No files found.
src/libGLESv2/formatutils.cpp
View file @
1d855fed
...
@@ -660,7 +660,7 @@ static InternalFormatInfoMap BuildES3InternalFormatInfoMap()
...
@@ -660,7 +660,7 @@ static InternalFormatInfoMap BuildES3InternalFormatInfoMap()
map
.
insert
(
InternalFormatInfoPair
(
GL_RG8_SNORM
,
InternalFormatInfo
::
RGBAFormat
(
8
,
8
,
0
,
0
,
0
,
GL_RG
,
GL_BYTE
,
GL_SIGNED_NORMALIZED
,
false
,
NeverSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RG8_SNORM
,
InternalFormatInfo
::
RGBAFormat
(
8
,
8
,
0
,
0
,
0
,
GL_RG
,
GL_BYTE
,
GL_SIGNED_NORMALIZED
,
false
,
NeverSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGB8
,
InternalFormatInfo
::
RGBAFormat
(
8
,
8
,
8
,
0
,
0
,
GL_RGB
,
GL_UNSIGNED_BYTE
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGB8
,
InternalFormatInfo
::
RGBAFormat
(
8
,
8
,
8
,
0
,
0
,
GL_RGB
,
GL_UNSIGNED_BYTE
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGB8_SNORM
,
InternalFormatInfo
::
RGBAFormat
(
8
,
8
,
8
,
0
,
0
,
GL_RGB
,
GL_BYTE
,
GL_SIGNED_NORMALIZED
,
false
,
NeverSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGB8_SNORM
,
InternalFormatInfo
::
RGBAFormat
(
8
,
8
,
8
,
0
,
0
,
GL_RGB
,
GL_BYTE
,
GL_SIGNED_NORMALIZED
,
false
,
NeverSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGB565
,
InternalFormatInfo
::
RGBAFormat
(
5
,
6
,
5
,
0
,
0
,
GL_RGB
,
GL_UNSIGNED_SHORT_5_
5_5_1
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGB565
,
InternalFormatInfo
::
RGBAFormat
(
5
,
6
,
5
,
0
,
0
,
GL_RGB
,
GL_UNSIGNED_SHORT_5_
6_5
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGBA4
,
InternalFormatInfo
::
RGBAFormat
(
4
,
4
,
4
,
4
,
0
,
GL_RGBA
,
GL_UNSIGNED_SHORT_4_4_4_4
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGBA4
,
InternalFormatInfo
::
RGBAFormat
(
4
,
4
,
4
,
4
,
0
,
GL_RGBA
,
GL_UNSIGNED_SHORT_4_4_4_4
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGB5_A1
,
InternalFormatInfo
::
RGBAFormat
(
5
,
5
,
5
,
1
,
0
,
GL_RGBA
,
GL_UNSIGNED_SHORT_5_5_5_1
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGB5_A1
,
InternalFormatInfo
::
RGBAFormat
(
5
,
5
,
5
,
1
,
0
,
GL_RGBA
,
GL_UNSIGNED_SHORT_5_5_5_1
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGBA8
,
InternalFormatInfo
::
RGBAFormat
(
8
,
8
,
8
,
8
,
0
,
GL_RGBA
,
GL_UNSIGNED_BYTE
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
map
.
insert
(
InternalFormatInfoPair
(
GL_RGBA8
,
InternalFormatInfo
::
RGBAFormat
(
8
,
8
,
8
,
8
,
0
,
GL_RGBA
,
GL_UNSIGNED_BYTE
,
GL_UNSIGNED_NORMALIZED
,
false
,
AlwaysSupported
,
AlwaysSupported
,
AlwaysSupported
)));
...
...
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