VirtualBox

Changeset 54143 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Feb 11, 2015 2:45:06 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98174
Message:

warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r54142 r54143  
    870870    {
    871871        {
    872             1.1,
     872            1.1f,
    873873            " GL_EXT_vertex_array \0"
    874874            " GL_EXT_polygon_offset \0"
     
    884884        },
    885885        {
    886             1.2,
     886            1.2f,
    887887            " EXT_texture3D \0"
    888888            " EXT_bgra \0"
     
    896896        },
    897897        {
    898             1.3,
     898            1.3f,
    899899            " GL_ARB_texture_compression \0"
    900900            " GL_ARB_texture_cube_map \0"
     
    909909        },
    910910        {
    911             1.5,
     911            1.5f,
    912912            " GL_SGIS_generate_mipmap \0"
    913913            /*" GL_NV_blend_equare \0"*/
     
    927927        },
    928928        {
    929             1.6,
     929            1.6f,
    930930            " GL_ARB_vertex_buffer_object \0"
    931931            " GL_ARB_occlusion_query \0"
     
    933933        },
    934934        {
    935             2.0,
     935            2.0f,
    936936            " GL_ARB_shader_objects \0" /*??*/
    937937            " GL_ARB_vertex_shader \0" /*??*/
     
    946946        },
    947947        {
    948             2.1,
     948            2.1f,
    949949            " GL_ARB_pixel_buffer_object \0"
    950950            " GL_EXT_texture_sRGB \0"
     
    952952        },
    953953        {
    954             3.0,
     954            3.0f,
    955955            " GL_ARB_framebuffer_object \0"
    956956            " GL_ARB_map_buffer_range \0"
     
    959959        },
    960960        {
    961             3.1,
     961            3.1f,
    962962            " GL_ARB_copy_buffer \0"
    963963            " GL_ARB_uniform_buffer_object \0"
     
    965965        },
    966966        {
    967             3.2,
     967            3.2f,
    968968            " GL_ARB_vertex_array_bgra \0"
    969969            " GL_ARB_draw_elements_base_vertex \0"
     
    978978        },
    979979        {
    980             3.3,
     980            3.3f,
    981981            " GL_ARB_blend_func_extended \0"
    982982            " GL_ARB_sampler_objects \0"
     
    991991        },
    992992        {
    993             4.0,
     993            4.0f,
    994994            " GL_ARB_texture_query_lod \0"
    995995            " GL_ARB_draw_indirect \0"
     
    10061006        },
    10071007        {
    1008             4.1,
     1008            4.1f,
    10091009            " GL_ARB_ES2_compatibility \0"
    10101010            " GL_ARB_get_program_binary \0"
     
    12991299
    13001300    /* OpenGL 3.2 core */
    1301     if (vmsvga3dCheckGLExtension(pState, 3.2, " GL_ARB_draw_elements_base_vertex "))
     1301    if (vmsvga3dCheckGLExtension(pState, 3.2f, " GL_ARB_draw_elements_base_vertex "))
    13021302    {
    13031303        pState->ext.glDrawElementsBaseVertex          = (PFNGLDRAWELEMENTSBASEVERTEXPROC)OGLGETPROCADDRESS("glDrawElementsBaseVertex");
     
    13081308
    13091309    /* OpenGL 3.2 core */
    1310     if (vmsvga3dCheckGLExtension(pState, 3.2, " GL_ARB_provoking_vertex "))
     1310    if (vmsvga3dCheckGLExtension(pState, 3.2f, " GL_ARB_provoking_vertex "))
    13111311    {
    13121312        pState->ext.glProvokingVertex                 = (PFNGLPROVOKINGVERTEXPROC)OGLGETPROCADDRESS("glProvokingVertex");
     
    14091409    }
    14101410
    1411     if (!vmsvga3dCheckGLExtension(pState, 3.2, " GL_ARB_vertex_array_bgra "))
     1411    if (!vmsvga3dCheckGLExtension(pState, 3.2f, " GL_ARB_vertex_array_bgra "))
    14121412    {
    14131413        /** @todo Intel drivers don't support this extension! */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette