Changeset 78190 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_limits.c
- Timestamp:
- Apr 18, 2019 12:07:07 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130111
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo
-
old new 9 9 /branches/VBox-5.1:112367,115992,116543,116550,116568,116573 10 10 /branches/VBox-5.2:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,124260,124263,124271,124273,124277-124279,124284-124286,124288-124290,125768,125779-125780,125812 11 /branches/aeichner/vbox-chromium-cleanup:129816,129818-129851,129853-129861,129871-129872,129876,129880,129882,130013-130015,130036,130094-130095 11 12 /branches/andy/draganddrop:90781-91268 12 13 /branches/andy/guestctrl20:78916,78930
-
- Property svn:mergeinfo
-
trunk/src/VBox
- Property svn:mergeinfo
-
old new 9 9 /branches/VBox-5.1/src/VBox:112367,116543,116550,116568,116573 10 10 /branches/VBox-5.2/src/VBox:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,124263,124273,124277-124279,124284-124286,124288-124290,125768,125779-125780,125812,127158-127159,127162-127167,127180 11 /branches/aeichner/vbox-chromium-cleanup/src/VBox:129818-129851,129853-129861,129871-129872,129876,129880,129882,130013-130015,130094-130095 11 12 /branches/andy/draganddrop/src/VBox:90781-91268 12 13 /branches/andy/guestctrl20/src/VBox:78916,78930
-
- Property svn:mergeinfo
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_limits.c
r69392 r78190 174 174 * compute the version number supported by Chromium. 175 175 */ 176 GLfloat crStateComputeVersion(float minVersion) 177 { 178 const GLfloat crVersion = crStrToFloat(CR_OPENGL_VERSION_STRING); 179 if (crVersion < minVersion) 180 minVersion = crVersion; 181 return minVersion; 176 void crStateComputeVersion(uint32_t *puMajorMin, uint32_t *puMinorMin) 177 { 178 if (*puMajorMin > CR_OPENGL_VERSION_MAJOR) 179 { 180 *puMajorMin = CR_OPENGL_VERSION_MAJOR; 181 *puMinorMin = CR_OPENGL_VERSION_MINOR; 182 return; 183 } 184 185 if (*puMinorMin > CR_OPENGL_VERSION_MINOR) 186 *puMinorMin = CR_OPENGL_VERSION_MINOR; 187 188 return; 182 189 } 183 190
Note:
See TracChangeset
for help on using the changeset viewer.