diff options
author | Mike Erwin <significant.bit@gmail.com> | 2015-11-24 10:20:38 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2015-11-24 10:21:07 +0300 |
commit | 291afea8ccdea57d4b2a51f134e9f53deeff964e (patch) | |
tree | 9e3b6368fa383b1aef835aa8bdeb7f55671579e1 /source/blender/makesrna/intern/rna_userdef.c | |
parent | 4ebede5d1f4db09091df69aa6e19b08b4b0fa535 (diff) |
OpenGL: clean up use of old extensions
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 83c159a46dd..73d46fc7e45 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -381,11 +381,6 @@ static void rna_UserDef_viewport_lights_update(Main *bmain, Scene *scene, Pointe rna_userdef_update(bmain, scene, ptr); } -static int rna_Scene_GPU_selection_supported(UserDef *UNUSED(U)) -{ - return GPU_select_query_check_support(); -} - static void rna_userdef_autosave_update(Main *bmain, Scene *scene, PointerRNA *ptr) { wmWindowManager *wm = bmain->wm.first; @@ -4219,11 +4214,6 @@ static void rna_def_userdef_system(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Text Anti-aliasing", "Draw user interface text anti-aliased"); RNA_def_property_update(prop, 0, "rna_userdef_text_update"); - func = RNA_def_function(srna, "is_occlusion_query_supported", "rna_Scene_GPU_selection_supported"); - parm = RNA_def_boolean(func, "is_supported", 0, "Occlusion Query Support", - "Check if GPU supports Occlusion Queries"); - RNA_def_function_return(func, parm); - prop = RNA_def_property(srna, "select_method", PROP_ENUM, PROP_NONE); RNA_def_property_enum_sdna(prop, NULL, "gpu_select_method"); RNA_def_property_enum_items(prop, gpu_select_method_items); |